What exactly is an answer? Text printed to stdout?
Anyway,
Code
void main()
is not correct portable C, although it might be correct on some machines. It definitely isn't for x86 linux or windows.
9) Will print nothing.
10) Won't compile. If clrscr reference is removed, it's still undefined behaviour.
11) 0 2
12) 1
13) May be undefined behaviour, depending on platform (signed overflow).
On x86, the expected result would be:
0000
14) 2
This post was edited by KrzaQ2 on Feb 22 2013 09:20pm