Obfuscated c contest


programming
The International Obfuscated C Code Contest (IOCCC) is an annual contest run since 1984 over Usenet by Landon Curt Noll and friends. The overall winner is whoever produces the most unreadable, creative, and bizarre (but working) C program. Various other prizes are awarded at the judges’ whim. C’s terse syntax and macro-preprocessor facilities give contestants a lot of maneuvering room. The winning programs often manage to be simultaneously funny, breathtaking works of art and horrible examples of how *not* to code in C.
This relatively short and sweet hello, world program demonstrates obfuscated C:
/* HELLO WORLD program * by Jack Applin and Robert Heckendorn, 1985 */
main(v,c)char**c;for(v[c++]=”Hello, world!\n)”; (!!c)[*c]&&(v–||–c&&execlp(*c,*c,c[!!c]+!!c,!c)); **c=!c)write(!!*c,*c,!!**c);
Here’s another good one:
/* Program to compute an approximation of pi * by Brian Westley, 1988 */
#define _ -FF_OO();printf(“%1.3f\n”,4.*-F/OO/OO);F_OO() _-_-_-_ _-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_ _-_-_-_
Note that this program works by computing its own area. For more digits, write a bigger program.
[Jargon File]

Read Also:

  • Obfuscation

    [ob-fuh-skeyt, ob-fuhs-keyt] /ˈɒb fəˌskeɪt, ɒbˈfʌs keɪt/ verb (used with object), obfuscated, obfuscating. 1. to confuse, bewilder, or stupefy. 2. to make obscure or unclear: to obfuscate a problem with extraneous information. 3. to darken. /ˌɒbfʌsˈkeɪʃən/ noun 1. the act or an instance of making something obscure, dark, or difficult to understand /ˈɒbfʌsˌkeɪt/ verb (transitive) 1. […]

  • Obfuscations

    [ob-fuh-skeyt, ob-fuhs-keyt] /ˈɒb fəˌskeɪt, ɒbˈfʌs keɪt/ verb (used with object), obfuscated, obfuscating. 1. to confuse, bewilder, or stupefy. 2. to make obscure or unclear: to obfuscate a problem with extraneous information. 3. to darken. /ˈɒbfʌsˌkeɪt/ verb (transitive) 1. to obscure or darken 2. to perplex or bewilder v. 1530s, from Latin obfuscatus, past participle of […]

  • Obfuscatory

    [ob-fuh-skeyt, ob-fuhs-keyt] /ˈɒb fəˌskeɪt, ɒbˈfʌs keɪt/ verb (used with object), obfuscated, obfuscating. 1. to confuse, bewilder, or stupefy. 2. to make obscure or unclear: to obfuscate a problem with extraneous information. 3. to darken. /ˈɒbfʌsˌkeɪt/ verb (transitive) 1. to obscure or darken 2. to perplex or bewilder v. 1530s, from Latin obfuscatus, past participle of […]

  • Obga

    Obstetrics and Gynecology Assembly

  • Obgyn

    [oh-bee-jee-wahy-en] /ˈoʊˈbiˈdʒiˌwaɪˈɛn/ 1. obstetrical-gynecological. 2. obstetrician-gynecologist. 3. and . ob-gyn or OB/GYN (ō’bē-jē’wī-ěn’) n.


Disclaimer: Obfuscated c contest definition / meaning should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. All content on this website is for informational purposes only.