Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Revisions

6 of 9
added 16 characters in body
Dennis
  • 211.7k
  • 41
  • 380
  • 830

C (gcc), (削除) 18 (削除ここまで) 17 bytes

f(){puts('@C');}

Note that there's an STX byte (0x02) between @ and C.

This has been tested with gcc 6.3.1 and clang 3.9.1 on Fedora 25, gcc 4.8.4 on Ubuntu 14.04.4, and gcc 4.8.3 on openSUSE 13.2, where it prints the following output.

inux-x86-64.so.2

Try it online!

Offline verification

$ printf "%b\n" "f(){puts('@2円C');}main(){f();}" > quine.c
$ gcc -w -o quine quine.c
$ ./quine
inux-x86-64.so.2
$ ./quine | wc -c
17
Dennis
  • 211.7k
  • 41
  • 380
  • 830

AltStyle によって変換されたページ (->オリジナル) /