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
Write the control statements in C language
What is the difference between array and pointer?
What does %c do in c?
Is a pointer a kind of array?
What are pointers? Why are they used?
What is the difference between class and object in c?
Is anything faster than c?
Are pointers integers in c?
Why is sizeof () an operator and not a function?
What is the significance of scope resolution operator?
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
What is a example of a variable?
c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above
How many levels of pointers have?
Where is c used?