Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: usecases of void foo(char **b) {} Date: Wed, 02 Nov 2016 09:19:39 -0700 Organization: None to speak of Lines: 14 Message-ID: References: <5a9aae7f-eb86-4c7b-bc93-142504b1d0a9@googlegroups.com> <49899127-bf04-4a84-a374-5bebfbe7f4f7@googlegroups.com> <8f154274-4b6f-41f3-8489-c94f98e5c559@googlegroups.com> <4b008cb8-2691-4e65-b725-3acddda41eb7@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="55d562a779fc0ae2b1f2a983cf45db85"; logging-data="30201"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18R1d+TAiyeq0relrtQ5ade" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:BUmjUNOSP7fpIFQGugWntq/R8o4= sha1:wi/2PllrbH24Z9A5HMLg17L0scs= Xref: csiph.com comp.lang.c:95598 BartC writes: [...] > Of course, char** might simply be a pointer to a single string, or a > char* array. No. A char* can be a pointer to a string. A char** cannot be. [...] -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"