A macro means that certain strings in the code will be changed before the compilation In C++, macros are defined using the #define keyword.
A macro in computer science is a rule or pattern that specifies how a certain input should be mapped to a replacement output.