g##g2 means gg2 i,e concat g & g2 & by the property of #define it is replace where it is called.
On Thu, Jun 16, 2011 at 8:36 PM, amit the cool <[email protected]>wrote: > #define f(g,g2) g##g2 > main() > { > int var12=100; > printf("%d",f(var,12)); > } > output-100 > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
