enums are not allocated in memory - they exist only on compilation stage. But once a enum is declared then how are they made use of in the program without declaring a variable for the enum
Ex: enum abc { a, b, c}; Without abc a = a; we can access 'a' of the enum directly. How is that made possible. Do they act as macros where substitution occurs prior to compilation or do they act as magic numbers ? -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@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.