连接操作符(##) 在C语言中,##是一个连接操作符(concatenation operator),用于将两个预处理标记(preprocessor tokens)合并成一个单独的标记。这在宏定义中非常有用,可以动态地创建标识符或字符串。 下面是一个使用##的示例代码: #include <stdio.h> #define CONCAT(a, b) a##b int main