1.

what will be the output of the following program segments . main(){intx;x=5cout

Answer»

EXPLANATION:

main(){intx;x=5cout<

8 [6+2{5-4 (5-8)}](11)

8 [6+2{5-4 (5-8)}]+4= (1x4)+1 = 5

2+5= (2x5)+2 = 12

3+6 = (3X6)+3= 21

Applying the same trick

8+11= (8x11)+ 8= 96.

Therefore the ANSWER is “96”.



Discussion

No Comment Found