#, ##,...,__VA_ARGS__,##__VA_ARGS__
1、ANSI C允许在c字符串中包含宏参数,如下例子:#include <stdio.h>#include <stdlib.h>#define POSI(x) printf("the square of "#x "is : %d\n", (x) * (x))int main(){ int y = 4; POSI(4); P...
原创
2018-05-14 10:20:32 ·
224 阅读 ·
0 评论