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


Please Help Members By Posting Answers For Below Questions

How can you allocate arrays or structures bigger than 64K?

678


What does do in c?

606


Explain what is a stream?

606


Explain the red-black trees?

602


Why & is used in scanf in c?

617






Explain the use of bit fieild.

708


Are the variables argc and argv are local to main?

783


What is static and auto variables in c?

563


I need previous papers of CSC.......plz help out by posting them.......

1814


Is void a keyword in c?

570


Is Exception handling possible in c language?

1576


if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0

1442


my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?

1113


What is sizeof array?

606


Explain how can you restore a redirected standard stream?

587