Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!convex!egsner!swsrv1!toma From: toma@swsrv1.cirr.com (Tom Armistead) Newsgroups: comp.lang.c Subject: Re: What does char **ch mean? Message-ID: <1991May4.172234.9474@swsrv1.cirr.com> Date: 4 May 91 17:22:34 GMT References: <1991May4.062007.3264@weyrich.UUCP> Distribution: usa Organization: Software Services: Garland, Tx Lines: 29 In article <1991May4.062007.3264@weyrich.UUCP> orville@weyrich.UUCP (Orville R. Weyrich) writes: >I am studying for a C language exam, and a study guide I am using states >that the declaration char **ch; is equivalent to char *ch; > >I am having difficulty understanding this. My interpretation of the >declaration char **ch is that we have a pointer to a pointer to a char. >I think that this would be equivalent to the declaration char *ch[] >rather than what the study guide says. > >Am I missing something obvious? > >Thanks, > >orville. > >-------------------------------------- ****************************** >Orville R. Weyrich, Jr. Certified Systems Professional >Internet: orville%weyrich@uunet.uu.net Weyrich Computer Consulting >Voice: (602) 391-0821 POB 5782, Scottsdale, AZ 85261 >Fax: (602) 391-0023 (Yes! I'm available) >-------------------------------------- ****************************** Nope, your not missing anything. Your 'study guide' is wrong! Tom -- Tom Armistead - Software Services - 2918 Dukeswood Dr. - Garland, Tx 75040 =========================================================================== toma@swsrv1.cirr.com {egsner,letni,ozdaltx,void}!swsrv1!toma