Re: Pointer arithmetic
- From: "Nick Keighley" <nick_keighley_nospam@xxxxxxxxxxx>
- Date: 21 Aug 2006 02:14:36 -0700
pghoshjobs@xxxxxxxxx wrote:
please quote in a standard manner and leave attributions in
"The function "main" is unique in that it can *only* have one of two
different signatures. "
Nope AFAIK, main can have 3 different signatures
1. main (void)
2. main (int argc, char *argv[])
3. main (int argc, char *argv[], char *envp[])
You are wrong. The 3rd version you give is non-standard (I think some
Unixen support it).
--
Nick Keighley
.
- References:
- Pointer arithmetic
- From: main()
- Re: Pointer arithmetic
- From: Keith Thompson
- Re: Pointer arithmetic
- From: pghoshjobs
- Pointer arithmetic
- Prev by Date: Re: malloc() and limitations
- Next by Date: Re: Pointer arithmetic
- Previous by thread: Re: Pointer arithmetic
- Next by thread: Re: Pointer arithmetic
- Index(es):
Relevant Pages
|