Created
December 28, 2015 16:38
-
-
Save jart/2c8706cb6a13b76bbf1d to your computer and use it in GitHub Desktop.
Perfectly Ordinary C
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
/**//* | |
*//** 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