aboutsummaryrefslogtreecommitdiff
path: root/quine
diff options
context:
space:
mode:
authorAnthony Wang2021-04-25 16:12:13 -0500
committerGitHub2021-04-25 16:12:13 -0500
commitfc4ee12563486f7c8627468d67ac57ac82a7b1a9 (patch)
treef7488fe256054f160c55a0e991ae209e53de0446 /quine
parent80d494ee54c7506f60d031b4dc5d942f524422f6 (diff)
Add a pure C quine
Diffstat (limited to 'quine')
-rw-r--r--quine/quine.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/quine/quine.c b/quine/quine.c
new file mode 100644
index 0000000..a4ef575
--- /dev/null
+++ b/quine/quine.c
@@ -0,0 +1 @@
+main(){char c[99]=R"(printf("main(){char c[99]=R\"("),printf("%s)\";",c),printf("%s",c);})";printf("main(){char c[99]=R\"("),printf("%s)\";",c),printf("%s",c);}