Created
February 26, 2024 21:00
-
-
Save LeonardoTemperanza/cedfe8704f632f0851fc586c24daa853 to your computer and use it in GitHub Desktop.
C program that prints its source code at runtime
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
| char* str = "char* str = %c%s%c%c%cint main() { printf(str, 34, str, 34, 59, 32); }"; int main() { printf(str, 34, str, 34, 59, 32); } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment