Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on C will never stop you from making mistakes. Parent comment
MULTIPLY(2+3,4+5) that expands in
2+34+5 (and not into: (2+3)(4+5)).
To have the latter, you should define:
#define MULTIPLY(a,b) ((a)*(b))
https://stackoverflow.com/questions/14041453/why-are-preproc....
#define DEREFERENCE(b) MULTIPLY(=, b) int thing DEREFERENCE(ptr);
MULTIPLY(2+3,4+5) that expands in
2+34+5 (and not into: (2+3)(4+5)).
To have the latter, you should define:
#define MULTIPLY(a,b) ((a)*(b))
https://stackoverflow.com/questions/14041453/why-are-preproc....