Hey all.
I have some definition of MACRO in C which is not compiled.
I have seen the warnings/errors of the compiler saying the arguments are not declared, expected expression before int, etc...Code:#define SWAP(a, b) int tmp = a; a = b; b = tmp
But I don't understand what is the intrinsic difference between this one and other similar MACROS like:
Does someone can explain it?Code:#define MAX(a, b) ((a)>(b)? (a) : (b))
Thanks in advance.