I have to store the multiples values of same type.
I opted for array.
But that array values will be used in the multiple parts of the program.
So i decided to access the array values using Macro.
arr[VALUE_1]
Here VALUE_1
is the macro
Another workaround for macro is enums
enums{
VALUE_1,
VALUE_2
}
I wonder that enums will consume some memory.
Which is better for efficient programming?