C problems

Karl Heuer karl at haddock.ima.isc.com
Sat Jun 3 05:53:30 AEST 1989


In article <236100015 at mirror> pat at mirror.TMC.COM writes:
>char **argv;      /* since you are learning it may be easier to understand
>                     this syntax better by defining it as:  char *argv[]  */

On the other hand, since this use of [] is a special case which exists nowhere
else in the language (it works *only* for formal arguments), it may be less
confusing to stick with "char **argv" after all.

(Just my opinion.  Decide for yourself.)

Karl W. Z. Heuer (ima!haddock!karl or karl at haddock.isc.com), The Walking Lint



More information about the Comp.lang.c mailing list