Hello everyone,
I have found a very strange usage of # and sizeof in the following statement,
Code:
#define FOO(p) static const struct_goo p = { .length = sizeof(#p "\n")};
What means "#p"? What is the meaning of the parameter -- #p "\n" -- passed to sizeof?
thanks in advance,
George