Preprocessor directive or #define is the traditional C-style way of specifying constant items. This is also…
Tag: enum
What are the drawbacks of using enum ?
However, there are serious drawbacks with enum variables in standard C++. First drawback is that the…