...
Code Block |
---|
#define ADD_M(a, b) ((a) + (b)) static inline add_f(int a, int b) { { return a + b; } |
In this example, the ADD_M(3,4)
macro invocation yields a constant expression, while the add_f(3,4)
function invocation does not.
...
...
Code Block |
---|
#define ADD_M(a, b) ((a) + (b)) static inline add_f(int a, int b) { { return a + b; } |
In this example, the ADD_M(3,4)
macro invocation yields a constant expression, while the add_f(3,4)
function invocation does not.
...