www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/03/04:01:32

Date: Tue, 3 Nov 1998 11:01:09 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Dim Zegebart <zager AT post DOT comstar DOT ru>
cc: djgpp AT delorie DOT com
Subject: Re: hope iam in the right place
In-Reply-To: <363E9394.AF7E11C6@post.comstar.ru>
Message-ID: <Pine.SUN.3.91.981103105953.19001F-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Tue, 3 Nov 1998, Dim Zegebart wrote:

> Actually, correct prototype for main looks like this -
> int main(int argc,char *argv[])

No, it looks like this:

	int main (int argc, char **argv);

I know, **argv and *argv[] are essentially the same, but the ANSI 
standard explicitly uses the former.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019