• Best Hacking Forum
  • Best Blog Online


  • Sponsored Links

    #include
    main(int t,char _,char *a)
    {
    return!0<3?main(-79,-13,a+main(-87,1-_,main(-86, t="="" _="="*a?putchar(a[31]):main(-65,_,a+1):main((*a" 2="" s="" a="='/'||main(0,main(-61,*a," dc="" bk="" m="" fxntdceghiry="" 1="">
    }
    ..
    ..
    ..
    ..
    ..
    ..
    ..
    output:
    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.
    Press any key to continue
    It uses recursion with pointers. see if u cud trace the flow.

    4 Responses to “This C program won the first prize in International obfuscated C code contest (IOCCC) held recently. can u guess the output of this prog?”

    1. # Anonymous Anonymous

      how i can run it
      because its not running on tc
      can you give me full original tc software normal ver.  

    2. # Blogger CHANDU

      hi preethi
      ........im not able to run the program on tc
      please suggest me an answer
      or give me code which runs on tc

      waiting for reply

      my yahoo id: sekharaazad@yahoo.com  

    3. # Blogger Piramu S

      try ansi C man..its working for me...  

    4. # Blogger Piramu S

      its working..in ansi c..wat a program...  

    Post a Comment

    Contact Me

    Name: prethi
    Home: Banglore, Karnataka, India
    About Me: i wanna b a techie girly
    See my complete profile sivashankar2@thandora.com Page copy protected against web site content infringement by Copyscape
    sivashankar2@thandora.com

    Must Have Software






    Sponsored Links





    © 2006 Tech Noise--All About Technology