Monday, January 12, 2009

array of pointer vs pointer to aray

int *p[10] ==> array of 10 int pointer where each one can be accessed p[1], p[2] etc...
int (*p)[10] ==> pointer to array of 10 integer values.

No comments:

Post a Comment