Concatenation Operator ##
This page was translated by a robot.
The double ##is a macro operator that causes a concatenation of the two operands left and right without additional space. This turns two symbols into one, which is why this macro operator is also known as a symbol operator and in English as a tokenizer . In the following example, the float variant of the transferred math function is called automatically:
PI = 3.000000
#include <stdio.h>
#include <math.h>
#define MATH(func, args) func ## f (args)
int main(){
printf("PI = %f\n", MATH(floor, 3.14));
return 0;
}