« deprecation, deprecation, deprecation - Part 2 | Main | How I bricked my iTunes Server »

A mysterious and largely unknown gcc builtin function

#include <stdio.h>

main()
{
   int  x;

   // \\\\\\\\\\\  ///////////// 
   // ||    POWERFUL MAGIC    ||
   // //////////   \\\\\\\\\\\\\
   x = __powerful_magic__( 1848);
   printf( "%d\n", x);

   return( 0);
}
;)

Comments (2)

Hehe :-)

you got me on this one - nice one ;-) I was thinking more like ioccc code:

#include
main() {printf(&unix["\021%six\012\0"],(unix)["have"]+"fun"-0x60);}


Jolly

Nat! Author Profile Page:

Understood (by principle).

Though your code - i have to say, pedantic as I am - doesn't compile. :)

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About

This page contains a single entry from the blog posted on January 12, 2010 12:11 PM.

The previous post in this blog was deprecation, deprecation, deprecation - Part 2.

The next post in this blog is How I bricked my iTunes Server.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 4.25