C pointers
Chris Calabrese[mav]
cjc at ulysses.homer.nj.att.com
Tue Feb 14 06:45:06 AEST 1989
In article <11216 at ulysses.homer.nj.att.com>, I write
> Um...isn't (*p_cmd_blk)[] an array of pointers, not a pointer to an array?
> try *(p_cmd_blk[]).
These things always confuse me to no end.
Advanced C Tips and Techniques (page 218) says (*foo)[] should be a pointer
to an array. I still think a pointer to a pointer is the best way.
--
Name: Christopher J. Calabrese
Brain loaned to: AT&T Bell Laboratories, Murray Hill, NJ
att!ulysses!cjc cjc at ulysses.att.com
Obligatory Quote: ``Now, where DID I put that bagel?''
More information about the Comp.lang.c
mailing list