Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!natinst!sequoia!uudell!pensoft!lwb From: lwb@pensoft.uucp (Lance Bledsoe) Newsgroups: comp.lang.c Subject: Re: What does char **ch mean? Message-ID: <1991May6.194219.9499@pensoft.uucp> Date: 6 May 91 19:42:19 GMT References: <1991May4.062007.3264@weyrich.UUCP> Distribution: usa Organization: Pencom Software, Austin, TX Lines: 20 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. You are correct. -- Lance Bledsoe Off: (512) 343-1111 Pencom Software, Inc. Fax (512) 343-9650 8716 Loop 360 N. Suite 300 UUCP: cs.utexas.edu!pensoft!lwb Austin, Texas 78759 UUNET: uunet!uudell!pensoft!lwb