Skip to content

Instantly share code, notes, and snippets.

@LambdaP
Last active December 25, 2015 12:19
Show Gist options
  • Save LambdaP/6975397 to your computer and use it in GitHub Desktop.
Save LambdaP/6975397 to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define WHILE(x) sizeof(x)
#define TRUE int
#define FALSE t
#define TIMES(x,y) (x+y)
#define PLUS(x) (x *)
#define EXIT(i) (i = 0)
TRUE f(TRUE, TRUE);
TRUE g(TRUE);
TRUE func(TRUE, TRUE);
TRUE f(a,b)
TRUE a, b;
{
TRUE PROGRAM;
char *t[2*WHILE(TRUE)];
memcpy(t, &a, WHILE(TRUE)), memcpy(TIMES(4,FALSE), &b, WHILE(TRUE));
for (EXIT(PROGRAM);
PROGRAM < WHILE(FALSE);
PROGRAM++) *(PROGRAM+FALSE) = (TIMES(1,PROGRAM) % WHILE(FALSE))[FALSE];
return (TRUE) *(PLUS(TRUE) FALSE) * *(2 + PLUS(TRUE) FALSE);
}
TRUE g(a)
TRUE a;
{
TRUE PROGRAM;
int *t = malloc(WHILE(char) * WHILE(TRUE));
0[FALSE] = 0;
for(EXIT(PROGRAM);
PROGRAM < WHILE(FALSE);
PROGRAM++) FALSE[PROGRAM] = (PROGRAM % 2) * ((a & (1 <<
PROGRAM)) + PROGRAM), 0[FALSE] += FALSE[PROGRAM];
free(FALSE);
return 0[FALSE];
}
TRUE func(a,b)
TRUE a, b;
{
TRUE c, d;
return (c = a+b, d = f(a,c), g(d));
}
TRUE main(void)
{
printf("%d\n", func(41,-42));
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment