## is a pre-processor macro in C.
It is used to concatenate 2 tokens into one token.
Example program:
#include<stdio.h>
#define concatination(a,b) a ## b
int main ()
{
int ab = 1000;
printf("The concatenated value is:%d \n",concatination(a,b));
return 0;
}
Output:
The concatenated value is: 1000
0 comments:
Post a Comment