Thursday, 13 February 2014

An Impossible to Read C Code

An Impossible to Read C Code
No point in wasting words here, folks, let's jump straight into the C code:

E((ck?main((z?(stat(M,&t)?P+=a+'{'?0:3:
execv(M,k),a=G,i=P,y=G&255,
sprintf(Q,y/'@'-3?A(*L(V(%d+%d)+%d,0)


And they lived happily ever after. The End.
What's this? You say something's still not clear about this whole C programming language
thing?
Well, to be quite honest, I'm not even sure what the above code does. It's a snippet from one of
the entires in the 2001 International Obfuscated C Code Contest 1\, a wonderful competition wherein
the entrants attempt to write the most unreadable C code possible, with often surprising results.

No comments:

Post a Comment