Skip to content

Instantly share code, notes, and snippets.

@jart
Created December 28, 2015 16:38
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jart/2c8706cb6a13b76bbf1d to your computer and use it in GitHub Desktop.
Save jart/2c8706cb6a13b76bbf1d to your computer and use it in GitHub Desktop.
Perfectly Ordinary C
/**//*
*//** This is perfectly ordinary C
**//*
*//** cc -std=c99 lol.c
**//* ./a.out justine 31
*//**/
#include <stdio.h>
#include <stdlib.h>
add(a, b) {
return a + b;
}
(*(*res[])())() = { add } ;
(*(*adder()))() ;
(*(*adder()))() { return res; }
main(argc, argv)
int argc;
char* argv[];
{{{
int long static unsigned volatile long x;
signed auto char const *restrict const name = {argv[1]};
register age = 0[adder()](0,atoi(2[argv]));
for (
x =- 001<<0;
x -->- 010>>2;
)
https://JustineTunney.com
0xcafe,printf("%s is %d years old\n", *&name, age);
}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment