Questions tagged [macros]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
33 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
325 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 ...