|
The International Obfuscated C Code Contest (abbr. IOCCC) is a programming contest for the most creatively obfuscated C code held annually since 1984 (with the exception of 1997, 1999, 2002 and 2003). There are many winning entries each year, and each entry gets a category like "Worst Abuse of the C preprocessor" or "Most Erratic Behavior". The IOCCC was started by Landon Curt Noll and Larry Bassel. They were talking together about the horrible code it was their jobs to maintain. They decided to hold a contest for the worst possible C code. Within the code size limit of only a few kilobytes, the contestants manage to do complicated things — the 2004 winner turned out an operating system. Some quotes from 2004 winners include, An example entry would be *: This program calculates pi by looking at its own area; a more accurate value can be obtained by using a bigger program. Some ways in which contributions are notable include: The nature of this contest has naturally resulted in programs which skirt around the edges of C standards, or result in constructs which trigger rarely used code path combinations in compilers. As a result, several of the past entries may not compile directly in a modern compiler, and some may even cause crashes.
See also | ||||||||
|
| |||||||||
![]() |
|
| |