Y
Hacker News
new
|
ask
|
show
|
jobs
by
greenyoda
3546 days ago
Which is why anyone who has experience programming in C would instead write:
#define add(a, b) ((a) + (b))
1 comments
0xmohit
3546 days ago
One may also do:
add(x, foo(x))
Which is why anyone who has experience programming in C would use (an inline) function instead.
link