enum --> no need of defining values.. numeric values automatically assigned --> can have local effect
macro --> we have to explicitly define the values --> always global effect On Sun, Sep 4, 2011 at 10:37 PM, deepikaanand <[email protected]>wrote: > macro is a pre processor directive while enum is not > > -- > 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.
