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"; ...