:lol: Some funny code found on the net, it's supposed to really compile and work (haven't tried though):
char*lie;

      double time, me= !0XFACE,

      not; int rested,  get, out;

      main(ly, die) char ly, **die ;{

          signed char lotte,


dear; (char)lotte--;

      for(get= !me;; not){

      1 -  out & out ;lie;{

      char lotte, my= dear,

      **let= !!me *!not+ ++die;

          (char*)(lie=


"The gloves are OFF this time, I detest you, snot\n\0sed GEEK!");

      do {not= *lie++ & 0xF00L* !me;

      #define love (char*)lie -

      love 1s *!(not= atoi(let

      )- !!

      (time  =out=  'a'));} while( my - dear

      && 'I'-1l  -get-  'a'); break;}}

          (char)*lie++;


(char)*lie++, (char)*lie++; hell:0, (char)*lie;

      get *out* (short)ly  -0-'R'-  get- 'a'^rested;

      do {auto*eroticism,

      that; puts(*( out

          - 'c'

-('P'-'S') +die+ -2 ));}while(!"you're at it");


for (*((char*)&lotte)^=

      (char)lotte; (love ly) [(char)++lotte+

      !!0xBABE];){ if ('I' -lie[ 2 +(char)lotte]){ 'I'-1l ***die; }

      else{ if ('I' * get *out* ('I'-1l **die[ 2 ])) *((char*)&lotte) -=

      '4' - ('I'-1l); not; for(get=!


get; !out; (char)*lie  &  0xD0- !not) return!!

      (char)lotte;}


(char)lotte;

      do{ not* putchar(lie );

      not; for(;!'a';);}while(

          love (char*)lie);{


register this; switch( (char)lie

      [(char)lotte] -1s *!out) {

      char*les, get= 0xFF, my; case' ':

      *((char*)&lotte) += 15; !not +(char)*lie*'s';

      this +1s+ not; default: 0xF +(char*)lie;}}}

      get - !out;

      if (not--)

      goto hell;

          exit( (char)lotte);}
Posted on 2005-06-29 12:25:55 by QvasiModo
Nice letter :)
Unfortunatelly I did not managed to compile it. I saw on certain web sites, that the "1s" short constant should be changed to 1. I tried it, both VC++ and GCC compiles it, but runtime error occurs. I don't know why.
GCC writes the following compilation warning:
warning: unreachable code at beginning of switch statement

Other interesting C program, maybe you already knew it: 12 Days of Christmas
#include <stdio.h>
main(t,_,a)char *a;{return!0<t?t<3?main(-79,-13,a+main(-87,1-_,
main(-86,0,a+1)+a)):1,t<_?main(t+1,_,a):3,main(-94,-27+t,a)&&t==2?_<13?
main(2,_+1,"%s %d %d\n"):9:16:t<0?t<-72?main(_,t,
"@n'+,#'/*{}w+/w#cdnr/+,{}r/*de}+,/*{*+,/w{%+,/w#q#n+,/#{l,+,/n{n+,/+#n+,/#\
;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l \
q#'+d'K#!/+k#;q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl]'/+#n';d}rw' i;# \
){nl]!/n{n#'; r{#w'r nc{nl]'/#{l,+'K {rw' iK{;[{nl]'/w#q#n'wk nw' \
iwk{KK{nl]!/w{%'l##w#' i; :{nl]'/*{q#'ld;r'}{nlwb!/*de}'c \
;;{nl'-{}rw]'/+,}##'*}#nc,',#nw]'/+kd'+e}+;#'rdq#w! nr'/ ') }+}{rl#'{n' ')# \
}'+}##(!!/")
:t<-50?_==*a?putchar(31):main(-65,_,a+1):main((*a=='/')+t,_,a+1)
  :0<t?main(2,2,"%s"):*a=='/'||main(0,main(-61,*a,
"!ek;dc i@bK'(q)-*%n+r3#l,{}:\nuwloca-O;m .vpbks,fxntdCeghiry"),a+1);}

This can be compiled without any problem, the output is the following poem:
On the first day of Christmas my true love gave to me
a partridge in a pear tree.

On the second day of Christmas my true love gave to me
two turtle doves
and a partridge in a pear tree.

On the third day of Christmas my true love gave to me
three french hens, two turtle doves
and a partridge in a pear tree.

On the fourth day of Christmas my true love gave to me
four calling birds, three french hens, two turtle doves
and a partridge in a pear tree.

On the fifth day of Christmas my true love gave to me
five gold rings;
four calling birds, three french hens, two turtle doves
and a partridge in a pear tree.

On the sixth day of Christmas my true love gave to me
six geese a-laying, five gold rings;
four calling birds, three french hens, two turtle doves
and a partridge in a pear tree.

On the seventh day of Christmas my true love gave to me
seven swans a-swimming,
six geese a-laying, five gold rings;
four calling birds, three french hens, two turtle doves
and a partridge in a pear tree.

On the eighth day of Christmas my true love gave to me
eight maids a-milking, seven swans a-swimming,
six geese a-laying, five gold rings;
four calling birds, three french hens, two turtle doves
and a partridge in a pear tree.

On the ninth day of Christmas my true love gave to me
nine ladies dancing, eight maids a-milking, seven swans a-swimming,
six geese a-laying, five gold rings;
four calling birds, three french hens, two turtle doves
and a partridge in a pear tree.

On the tenth day of Christmas my true love gave to me
ten lords a-leaping,
nine ladies dancing, eight maids a-milking, seven swans a-swimming,
six geese a-laying, five gold rings;
four calling birds, three french hens, two turtle doves
and a partridge in a pear tree.

On the eleventh day of Christmas my true love gave to me
eleven pipers piping, ten lords a-leaping,
nine ladies dancing, eight maids a-milking, seven swans a-swimming,
six geese a-laying, five gold rings;
four calling birds, three french hens, two turtle doves
and a partridge in a pear tree.

On the twelfth day of Christmas my true love gave to me
twelve drummers drumming, eleven pipers piping, ten lords a-leaping,
nine ladies dancing, eight maids a-milking, seven swans a-swimming,
six geese a-laying, five gold rings;
four calling birds, three french hens, two turtle doves
and a partridge in a pear tree.

The analysis of the code can be read here: Reverse Engineering the Twelve Days of Christmas

Here are links to different Obfuscated C code examples:
PhatNav's Encyclopedia - Obfuscated code
Obfuscated C Code
Posted on 2005-07-02 07:23:03 by bszente
Look at this one, I'm totally impressed :shock: :shock: I have take it from that Obfuscated C Code site...
Pi -- A unique program layout and the most unusual method of calculating pi I have ever seen. The source code is a circle and the program works by calculating its own area and diameter, and then doing a division to approximate pi!! Very bizzare.

#define _ F-->00 || F-OO--;
long F=00,OO=00;
main(){F_OO();printf("%1.3f\n", 4.*-F/OO/OO);}F_OO()
{
            _-_-_-_
      _-_-_-_-_-_-_-_-_
    _-_-_-_-_-_-_-_-_-_-_-_
  _-_-_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  _-_-_-_-_-_-_-_-_-_-_-_-_-_
    _-_-_-_-_-_-_-_-_-_-_-_
      _-_-_-_-_-_-_-_-_
            _-_-_-_
}
Posted on 2005-07-02 07:28:49 by bszente
those obfuscated programs are pretty insane :P
Posted on 2005-07-02 10:21:12 by f0dder
yes, obfuscated with a capital O.
Posted on 2005-07-20 21:29:47 by x86asm