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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s