main()
{
int a=4,b=2;
a=b<<a + b>>2;
printf("%d", a);
}
Answer Posted / alamuru sreenivasa reddy
2<<4 that means 2 is left shifted by 4 times. then we will get 0010 0000=32 in decimal form. similarly 1>>2 means that is right shifted 2 times we will get 0000 0000=0.. so 0+32=32
i.e answer
Is This Answer Correct ? | 24 Yes | 10 No |
Post New Answer View All Answers
How can you allocate arrays or structures bigger than 64K?
What does do in c?
Explain what is a stream?
Explain the red-black trees?
Why & is used in scanf in c?
Explain the use of bit fieild.
Are the variables argc and argv are local to main?
What is static and auto variables in c?
I need previous papers of CSC.......plz help out by posting them.......
Is void a keyword in c?
Is Exception handling possible in c language?
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?
What is sizeof array?
Explain how can you restore a redirected standard stream?