Skip to content

Instantly share code, notes, and snippets.

@lucapette lucapette/quine.c
Created Sep 25, 2010

Embed
What would you like to do?
quine in C
char *s="char *s=%c%s%c%c%c%cmain()%c{%c printf(c,10,34,c,34,59,10);%c printf(s,34,s,34,59,10,10,10,10,10,10,10);%c}%c";
main()
{
printf(s,34,s,34,59,10,10,10,10,10,10,10);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.