Macro definition are globally. It doesn’t care if you define it in the function or not . The preprocessor will replace the first occurrence of the macro and will go on.
Can we define macro in a function?
Macro definition are globally. It doesn’t care if you define it in the function or not . The preprocessor will replace the first occurrence of the macro and will go on.