Question: what are macro in c?
Answer: A macro is a fragment of code which has been given a name. Whenever the name is used, it is replaced by the contents of the macro. ... Object-like macros resemble data objects when used, function-like macros resemble function calls. You may define any valid identifier as a macro, even if it is a C keyword.