What does char **ch mean?
Lance Bledsoe
lwb at pensoft.uucp
Tue May 7 05:42:19 AEST 1991
In article <1991May4.062007.3264 at weyrich.UUCP> orville at 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
More information about the Comp.lang.c
mailing list