相关疑难解决方法(0)

无与伦比的支架宏怪异

在C99规则下预处理以下3行的正确输出是什么?

#define y(x) x
#define x(a) y(a
x(1) x(2)))
Run Code Online (Sandbox Code Playgroud)

linux下的BTW cpp产​​生错误信息,但我不明白为什么答案不简单

1 2
Run Code Online (Sandbox Code Playgroud)

假设cpp是正确的,我错了,我会非常感谢你的解释.

c macros c-preprocessor

4
推荐指数
1
解决办法
6990
查看次数

标签 统计

c ×1

c-preprocessor ×1

macros ×1