1.

How do you override a defined macro?

Answer»

To override a defined macro we can USE #ifdef and #undef preprocessors as follows:

  • #ifdef A
  • #undef A
  • #endif
  • #define A 10

If macro A is defined, it will be undefined USING undef and then defined again using define.



Discussion

No Comment Found