I get little confused with pointer to function.
Let’s say
int func (int parameter){
return parameter + 5;
}
int (* pfunction)(int) = func;
pfunction(5); //this will return 10
But I wonder what it means without parantheses. Like this.
pfunction
*pfunction
I know the difference between these two in case of pointer to int, float, double ... but I have no clue what these two mean when it comes to pointer to function.
Could you explain this?