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 a 'null pointer assignment' error?
Explain how can you restore a redirected standard stream?
c program to compute AREA under integral
What are global variables?
What is %lu in c?
What are pointers? What are stacks and queues?
If you know then define #pragma?
Explain how can you tell whether a program was compiled using c versus c++?
Explain 'far' and 'near' pointers in c.
Why isnt there a numbered, multi-level break statement to break out
Difference between malloc() and calloc() function?
What is null pointer constant?
Differentiate Source Codes from Object Codes
What does sizeof int return?
Can you write the function prototype, definition and mention the other requirements.