Which keyword is used to define macros in C++ ?
In C++, macros are defined using the #define preprocessor directive. Macros in C++ are used to create symbolic constants or simple inline functions that are expanded by the preprocessor before the code is compiled. The syntax for defining a macro using #define is as follows:
#define MACRO_NAME replacement_textHere, MACRO_NAME is the name of the macro, and replacement_text is the text that will be substituted for occurrences of the macro name in the code.