Sumedh

What is the difference between an array of pointers and a pointer to an array?




Array of pointers example

int *p[10];

Pointer to a 10 element array example

int (*p)[10];




Copyright © 2002 - 07 Sumedh K