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
Printable View
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
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