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 a program to print numbers from 1 to 100 without using loop in c?
Can the size of an array be declared at runtime?
how should functions be apportioned among source files?
What is derived datatype in c?
Write a program to reverse a given number in c?
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?
What are compound statements?
When should you not use a type cast?
using for loop sum 2 number of any 4 digit number in c language
Does free set pointer to null?
How can I implement a delay, or time a users response, with sub-second resolution?
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
How many levels deep can include files be nested?
What are categories used for in c?
Do you know the use of 'auto' keyword?