Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!ulysses!cjc From: cjc@ulysses.homer.nj.att.com (Chris Calabrese[mav]) Newsgroups: comp.lang.c Subject: Re: C pointers Summary: oops Message-ID: <11217@ulysses.homer.nj.att.com> Date: 13 Feb 89 20:45:06 GMT References: <1707@shaffer.UUCP> <3374@xyzzy.UUCP> <11216@ulysses.homer.nj.att.com> Organization: AT&T Bell Laboratories, Murray Hill Lines: 12 In article <11216@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@ulysses.att.com Obligatory Quote: ``Now, where DID I put that bagel?''