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 / manish soni bca 3rd year jaipu
#include<stdio.h>
#include<conio.h>
void main()
{
int a;
printf("Enter number which you want to
double");
scanf("%d",&a);
printf("THE NUMBER IS %d AND DOUBLE NO IS %
d.",a,a<<1);
getch();//optional to write getch();
}
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are predefined functions in c?
What are types of preprocessor in c?
Is null always equal to 0(zero)?
Which header file should you include if you are to develop a function which can accept variable number of arguments?
What is the maximum no. of arguments that can be given in a command line in C.?
What are the different data types in C?
Explain union. What are its advantages?
What is .obj file in c?
What is the return type of sizeof?
What is the advantage of an array over individual variables?
Function calling procedures? and their differences? Why should one go for Call by Reference?
A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
When should structures be passed by values or by references?
Tell me about low level programming languages.