c语言宏定义可以嵌套吗 c语言中宏定义的嵌套和递归?

c语言中宏定义的嵌套和递归?可以嵌套:#define a BB(不能是AA)#define BB 123预编译a将变为123非递归:#define C 1 C或#define C 1 bdefine

c语言中宏定义的嵌套和递归?

可以嵌套:#define a BB(不能是AA)

#define BB 123

预编译a将变为123

非递归:#define C 1 C

或#define C 1 b

define b 1 C

预编译C将变为1。。。无限循环