Skip to content

Instantly share code, notes, and snippets.

@imaami
Last active July 20, 2023 21:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imaami/8a4c0719605d462e465374b2a374c726 to your computer and use it in GitHub Desktop.
Save imaami/8a4c0719605d462e465374b2a374c726 to your computer and use it in GitHub Desktop.
A spooky message in perfectly legible C.
/*----------------------------*
| s p o o k y m e s s a g e |
*----------------------------*/
#include <stdio.h>
#include <string.h>
__typeof__(~
sizeof("{%s, n%s}\n")) main
( __typeof__(~*
"")eof__,
__typeof__(*
"{%s, n%s}\n")* terror)
{printf("{%s, n%s}\n",strerror
("{%s, n%s}\n"[
'\10' ]^0377),strerror
("{%s, n%s}\n"
[0 ] )-(- 01));return ~
*"{%s, n%s}\n"^ ~
*"{%s, n%s}\n";}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment