Heavy obfuscation

An acquaintance posted a fun little snippet of C code that prints 1 - 1000 and then exits.

(Link: https://gist.github.com/3210762)

Looked like fun, so I came up with my own:

(Link: http://codepad.org/4MCzP8J6)

You can even compile and run this code right now at codepad. Modern web apps are truly amazing (see jsLinux and Game Boy emulation).

Reader: what does d refer to? Will it change depending on the compiler/architecture? There might be a difference between char *s="foo"; and char s[]="foo"; ...