Posts Tagged ‘C’

Tr!cky ‘C’ M@cros

Posted: December 21, 2009 in 'C' puzzles
Tags: ,
#include <stdio.h>
#define f(a,b) a##b
#define g(a)   #a
#define h(a)   g(a)
  int main()
  {
          printf("%s\n",h(f(1,2)));
          printf("%s\n",g(f(1,2)));
          return 0;
  }
H! fnds try to give the output of the above pgm with ur xplanations..
Advertisements