main() - argc,argv

Doug Gwyn gwyn at smoke.BRL.MIL
Sat Dec 2 12:10:40 AEST 1989


In article <1989Nov30.204932.15705 at chinet.chi.il.us> john at admctr.chi.il.us (John Mundt) writes:
>In article <1093 at nsscb.UUCP> nrg at nsscb.UUCP (G.Narotham Reddy) writes:
>>I would like to know what happens if main() is passed more than two arguments?
>It is passed three by convention.

NO, it isn't, except in some recent UNIX implementations.
(And, as was previously explained, that was a mistake.)



More information about the Comp.lang.c mailing list