Created
November 7, 2019 00:19
-
-
Save cosinekitty/7dd449407e1bd968800c4dc7f70f49bf to your computer and use it in GitHub Desktop.
Trying to printf a printf, but still not a quine yet.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() | |
{ | |
printf("#include <stdio.h>\n"); | |
printf("int main()\n"); | |
printf("{\n"); | |
printf(" printf(\"#include <stdio.h>\\n\");\n"); | |
printf(" return 0;\n"); | |
printf("}\n"); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment