+ 2
Could someone help?
when declaring pointers,whats the difference if we say: float*ptr or float(*ptr) ????
5 Answers
+ 2
In this case there is no difference, but when dealing with a function pointer there is.
int* x(int) is a function declaration
int(*x)(int) is a function pointer
It's about the operator precedence, just wanted to put this out here.
+ 8
if im not mistaken, there is no difference
+ 2
@Dennis thank you alot
+ 1
Thank you alot
0
no diff.