Skip to content

Instantly share code, notes, and snippets.

@nandor
Created November 15, 2013 20:55
Show Gist options
  • Save nandor/7491429 to your computer and use it in GitHub Desktop.
Save nandor/7491429 to your computer and use it in GitHub Desktop.
C quine
#include <stdio.h>
#define S(x) char*src=#x;x
S(void main(){printf("#include <stdio.h>\n#define S(x) char*src=#x;x\nS(%s)\n",src);})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment