##
#include <stdio.h>
#define INTVARIABLE(n) i##n
int main(void)
{
int INTVARIABLE(2) = 3;
printf("i2=%d\n",i2);//output i2=3
i2 = 5;
printf("i2=%d\n",i2);//output i2=5
return 0;
}
C Language Study - the use of symbol '##'
时间: 2024-10-29 10:45:44