Thread: char[] vs char*
View Single Post
Old Apr 6th, 2008, 1:40 AM   #6
Jabo
Not a user?
 
Join Date: Sep 2007
Posts: 272
Rep Power: 2 Jabo is on a distinguished road
Re: char[] vs char*

can you call main from within main? probably not. to change the arguments, you would have to call the function again, or so I'm thinking, and it's highly unlikely that they would allow main to be called recursively.

As it turns out, it looks like C allows main to be called recursively, but C++ doesn't
I stand corrected

Last edited by Jabo; Apr 6th, 2008 at 1:45 AM. Reason: I stand corrected!
Jabo is offline   Reply With Quote