宏替换后是
a + b * b + c + c + a
即
1 + 2 * 2 + 3 + 3 + 1 = 12
应该这样定义宏
#define M(x,y,z) (x)*(y)+(z),那么替换后是
(1 + 2) * (2 + 3) + (3 + 1) = 19
宏替换后是
a + b * b + c + c + a
即
1 + 2 * 2 + 3 + 3 + 1 = 12
应该这样定义宏
#define M(x,y,z) (x)*(y)+(z),那么替换后是
(1 + 2) * (2 + 3) + (3 + 1) = 19