G
George2
Hello everyone,
I can not understand how the following code works and assign 100 to
counter variable?
thanks in advance,
George
I can not understand how the following code works and assign 100 to
counter variable?
Code:
void Foo (int* input)
{
*input = 100;
return;
}
#define GETFOO (Foo( &counter ), counter)
int counter;
int main()
{
GETFOO;
return 0;
}
thanks in advance,
George