delorie.com/archives/browse.cgi | search |
Date: | Sun, 8 Jun 1997 18:28:52 +0300 (IDT) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
To: | Paul Derbyshire <ao950 AT FreeNet DOT Carleton DOT CA> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: char **argv vs. char *argv[] |
In-Reply-To: | <5ndap9$mgd@freenet-news.carleton.ca> |
Message-ID: | <Pine.SUN.3.91.970608182652.14590W-100000@is> |
MIME-Version: | 1.0 |
On 8 Jun 1997, Paul Derbyshire wrote: > I've seen char **argv and char *argv[] and am curious which is correct. Or > are either correct? AFAIK, the difference is only important when you declare argv. Since these are passed to your `main' function, and are therefore declared elsewhere (in the library sources), both forms are correct.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |