Last active
October 4, 2019 17:23
-
-
Save rtldg/7e836c49e7bc82343086910ea5c659db to your computer and use it in GitHub Desktop.
quine.c -- 78 characters (warnings) / 120 characters (no warnings)
This file contains hidden or 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
| #define s(a)char*B=#a;a | |
| #include<stdio.h> | |
| s(int main(){printf("#define s(a)char*B=#a;a\n#include<stdio.h>\ns(%s)", B);}) |
This file contains hidden or 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
| #define s(a)int*B=#a;a | |
| s(main(){printf("#define s(a)int*B=#a;a\ns(%s)\n",B);}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment