hello guys,
please explain me the following in detail.
what does these mean,
int(*p)[10]
int*f()
int(*pf)()
int*p[10]
bye
srinu
with regards
hello guys,
please explain me the following in detail.
what does these mean,
int(*p)[10]
int*f()
int(*pf)()
int*p[10]
bye
srinu
with regards
srinu
The parentheses make a difference because * has a lower precedence than the parentheses.Code:// pointer to an array of ints int(*p)[10] // function that takes no parameters and returns a pointer to an int int*f() // pointer to a function that takes no parameters and returns an int int(*pf)() // an array of int pointers int*p[10]
David
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them
In the Land of Mordor where the Shadows lie.