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 does char * * argv mean in c?
What is the description for syntax errors?
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +
Wt are the Buses in C Language
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.
Can we change the value of constant variable in c?
What are the advantage of c language?
What is operator precedence?
Explain a pre-processor and its advantages.
What is the right type to use for boolean values in c?
What are shell structures used for?
What is wrong with this statement? Myname = 'robin';
What is pass by value in c?
Does c have an equivalent to pascals with statement?
What does int main () mean?