Last active
December 18, 2020 07:54
-
-
Save spacelatte/587a032aa1d5b37647542142f2643756 to your computer and use it in GitHub Desktop.
#happy #new #year #c #quine
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
/* | |
compile & run: | |
$ cc -o tree tree.c && ./tree \ | |
| tee out.c | |
echo 'output:' | |
cc -o out out.c && ./out | |
*/ | |
int main(){ | |
int printf(const char *, ...); | |
printf("\n\ | |
//Happy new year \n\ | |
// \n\ | |
int \n\ | |
main \n\ | |
(){int \n\ | |
printf( \n\ | |
const/**/ \n\ | |
char*, ...) \n\ | |
;printf(/**/\"\\n\\\n\ | |
Happy new year\\n\") \n\ | |
;return/************/0;}\n\ | |
/**/ \n\ | |
/**/ \n\ | |
/**/ \n\ | |
/**/ \n\ | |
/**/ \n\ | |
/**/ \n\ | |
/**********************/\n\ | |
\n");return 0;}/**********/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment