A
ashwani
Hi
Can any one tell me the difference between preprocessor macros like
#define and enum.
If i want to define MAX_LIMIT=100 as preprocessor macro as
#define MAX_LIMIT 100
or if i define enum {MAX_LIMIT=100}; then what is the basic difference?
Is there any efficiency tradeoff between both the definitions.
Can any one tell me the difference between preprocessor macros like
#define and enum.
If i want to define MAX_LIMIT=100 as preprocessor macro as
#define MAX_LIMIT 100
or if i define enum {MAX_LIMIT=100}; then what is the basic difference?
Is there any efficiency tradeoff between both the definitions.