Hi saurabh, it will not going to infinite...
1st all A will be replaced by B so later #define B B be remaining so this statement is valid.. program will going to execute fine.. On Thu, Sep 9, 2010 at 7:22 PM, saurabh agrawal <saurabh...@gmail.com>wrote: > Can somebody explain how the macros are expanded regarding order in which > they are used...etc... > > also explain this example : > > #define A B > #define B A > > what is the effect of this and whether it will go in an infinite recursive > call or not and why? > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algoge...@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com<algogeeks%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- Thanks & Regards Umesh kewat -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.