To override a defined macro we can use #ifdef and #undef preprocessors as follows:
If macro A is defined, it will be undefined using undef and then defined again using define.