Questions tagged [macros]
The macros tag has no usage guidance.
2
questions
0
votes
1answer
34 views
Defining array[i] as a macro
I'm getting the following error:
helpers.c:25:12: error: called object type 'int *' is not a function or function pointer
if (MIN < MAX)
^~~
helpers.c:20:24: note: ...
0
votes
2answers
514 views
global variables and macros
if we use
#define a 1 - MACROS
or int a = 1 - Global variables before main function
what is the difference between the both of them assuming I won't alter the value of global ...