I wonder if does:
void *ptr = NULL; printf(\"%p\\n\", ptr);
Will always gives (nil) output?
(nil)
Does it depend on standard
Will always gives (nil)?
Not at all. On my machine (Mac with i686-apple-darwin11-llvm-gcc-4.2) it prints 0x0.
i686-apple-darwin11-llvm-gcc-4.2
0x0