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 02d in c?
What is ponter?
Explain what are compound statements?
What is the difference between a string and an array?
What is linear search?
What is main () in c language?
What is the maximum length of an identifier?
What are the features of c language?
write a program to concatenation the string using switch case?
What do mean by network ?
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
What is the c language function prototype?
Is it better to use a macro or a function?
The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration
Can the “if” function be used in comparing strings?