[NTLUG:Discuss] OT C question
Patrick R. Michaud
pmichaud at pobox.com
Tue Sep 27 23:23:54 CDT 2005
On Tue, Sep 27, 2005 at 09:22:16PM -0500, Fred James wrote:
> Chris Cox wrote:
> >How about:
> >
> >int main(int argc, char* argv[]) {
>
> Chris Cox
> Thank you - that was indeed my bad. The results are good with either
> "char* argv[]" or "char *argv[]"
Yes, from the compiler's perspective both "char* argv[]" and
"char *argv[]" are exactly the same token sequence -- basically
char * argv [ ]
Pm
More information about the Discuss
mailing list