Answers for "variable macro in c"

3

macros in c

A macro is defined at the top of your program.
for eg: #define PI 3.14
Now whenever you write PI in your program 'PI' is replaced by 3.14
Actually this replacement is done by the preprocessor before the source code is compiled.
Posted by: Guest on March-06-2021
0

how to call a function in a macro with variadic arguments c++

#define eprintf(…) fprintf (stderr, __VA_ARGS__)
Posted by: Guest on July-31-2020

Browse Popular Code Answers by Language