Reading any further will probably give you a headache...
While searching for some code I stumbled across these codes:
If anyone wants to confirm that this WILL compile and work go ahead...
Code:
int max(int a,int b)
{
a-=b;
if(!a)
goto d;
if(a<(a-a))
goto e;
b+=a;
goto f;
d: if(a!=b)
goto e;
f: a=~b;
goto d;
e: return b;
}
This one nearly killed me from looking at it.
Code:
int mymax (int(*a)(int(*)(int(*)()),int(*)(int(*)(int**))), int(*b)(int(*)
(int(*)()),int*,int(*)(int(*)()))){return (int)((((int(*)(int(*)(int(*)()),int(
*)(int(*)())))a)> ((int(*)(int(*)(int(*)()),int(*)(int(*)())))b))?((int(*)(
int(*)(int(*)()),int(*)(int(*)())))a):((int(*)(int(*)(int(*)()),int(*)(int(*)(
))))b));??>
The function call:
Code:
mymax((int(*)(int(*)(int(*)()),int(*)(int(*)(int**))))3,(int(*)(int(*)(int(*)
()),int*,int(*)(int(*)())))52);
equivalent code
Now remember when getting mad at some newbie programmer it could be much much worse than bad syntax or lack of comments.