Given this code with 3 distinguishing features of a function:
void f(void){
puts("OK");
}
int main(void){
f();
(*f)();
(&f)();
return 0;
}
The first is the standard way to call f,
the second is semantics for dereference function pointers,
but in the third, I apply the and operator to the function name and it seems to work fine.
What happens in the second and third cases?
Thank.
source
share