[prog] Doubts in C

ed orphan millward at Ms.UManitoba.CA
Fri Aug 29 08:28:56 EST 2003


Great question!  Here's the answer.

 int * a[10];    a is an array of pointers to int

 int ( * a)[10];  a is a pointer to an array of int.

The best way ( and only way as far as I'm concerned )
to learn this stuff is to write experiment programs and
single step through them with your debug. 
There are some excellent C books around, but they
ain't worth poo if you don't write and debug.  
  




More information about the Programming mailing list