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 / paramesh
#include<stdio.h>
#include<conio.h>
void main()
{
int a;
printf("Enter the number")
scanf("%d",&a);
printf("%d double number is %d", a,a<<1);
getch();
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the use of the function in c?
Difference between MAC vs. IP Addressing
What is bash c?
What are variables and it what way is it different from constants?
What is p in text message?
What does sizeof return c?
If fflush wont work, what can I use to flush input?
What is exit() function?
Explain what is wrong with this statement? Myname = ?robin?;
What are different types of variables in c?
What is the usage of the pointer in c?
What is string in c language?
Can you please explain the difference between exit() and _exit() function?
Explain what is page thrashing?
Explain can you assign a different address to an array tag?