Nat! bio photo

Nat!

Senior Mull.

Twitter RSS

Github

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);
}

;)


2 Comments

A photo of Patrick Stein

From: Patrick Stein

Hehe :-)

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

#include

main() {printf(&unix["21%six12"],(unix)["have"]+"fun"-0x60);}

Jolly

A photo of Nat!

From: Nat!

Understood (by principle).

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

Post a comment

All comments are held for moderation; basic HTML formatting accepted.

Name:
E-mail: (not published)
Website: