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
Can a local variable be volatile in c?
What is structure data type in c?
Differentiate between the = symbol and == symbol?
which type of aspect you want from the student.
Is there any possibility to create customized header file with c programming language?
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
Explain how do you determine a file’s attributes?
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
What are the types of operators in c?
Which is better malloc or calloc?
What is %d used for?
What are the different types of control structures?
Differentiate call by value and call by reference?
how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software
How can you determine the size of an allocated portion of memory?