write a C program, given number is double without using addt
ion and multiplication operator?ex:n=6,ans=12,pls send me ans
to goviseenu@gmail.com
Answer Posted / manoj sharma
You can use left bitwise operator.
Say if your no is n then n<<1 will return n*2.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Explain how can type-insensitive macros be created?
what are the facialities provided by you after the selection of the student.
What is the data segment that is followed by c?
List some applications of c programming language?
What is the use of function overloading in C?
What is the right type to use for boolean values in c? Is there a standard type?
The __________ attribute is used to announce variables based on definitions of columns in a table?
What is the difference between scanf and fscanf?
What is static and volatile in c?
Is it better to use malloc() or calloc()?
write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?
explain how do you use macro?
Write a code of a general series where the next element is the sum of last k terms.
Can include files be nested?
How many bytes is a struct in c?