Search

“codedownloads”

More pages from the web

1–1 of 1
  • codedownloads.com

    CodeDownloads

    Subscribe to CodeDownloads RSS About Us Lets tech think and share its spirit Programming Puzzles -C Language [PP-C4] 04 23 11' Written by admin 0 Comments 1] int i=10; main() { extern int i; { int i=20; { const volatile unsigned i=30; printf(?%d?, i); } printf(?%d?, i); } printf(?%d?, i); } Answer: 30, 20, 10 Explanation: ?{? introduces new block and thus new scope. In the innermost block i is declared as, const volatile unsigned which is a valid