Main(){ { unsigned int bit=256; printf("%d", bit); } { unsigned int bit=512; printf("%d", bit); }}

A) 256, 512
B) 512, 512
C) 256, 256
D) Compile error
Explanation: because these are different blocks, so declaration is allowed.

Showing Answers 1 - 2 of 2 Answers

supriya ahire

  • Mar 21st, 2006
 

hi,

    o/p is a)256 512

     The program executes block by block.

Regards,

Supriya Ahire

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions