Saturday, December 5, 2009

Complicated Declaration


int *p[10];

This is an array of pointers

int (*p)[10];

This is a pointer to a 10 element array



No comments:

Post a Comment