main()
{
int a=4,b=2;
a=b<<a + b>>2;
printf("%d", a);
}
Answer Posted / manish soni tagore collage jai
b<<a=2<<4=32;
and
b>>2=1>>2=0
so
32+0=32
| Is This Answer Correct ? | 47 Yes | 5 No |
Post New Answer View All Answers
What is meant by type casting?
Explain what is the use of a semicolon (;) at the end of every program statement?
Can you apply link and association interchangeably?
Define VARIABLE?
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.
What is omp_num_threads?
What is putchar() function?
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.
Difference between Shallow copy and Deep copy?
Explain what does a function declared as pascal do differently?
What are the different data types in C?
What is the concatenation operator?
Difference between exit() and _exit() function?
What does do in c?
the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above