7 lines
262 B
C
7 lines
262 B
C
#include <stdio.h>
|
|
#define xstr(s) #s
|
|
#define str(s) xstr(s)
|
|
#define MAIN(s) int main() { char *quine = "#include <stdio.h>\n#define xstr(s) #s\n#define str(s) xstr(s)\n#define MAIN(s) "s"\n\nMAIN(str(MAIN(s)))\n"; printf(quine); return 0; }
|
|
|
|
MAIN(str(MAIN(s)))
|