By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,260 Members | 1,305 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,260 IT Pros & Developers. It's quick & easy.

Diff. in C main and C++ main?

P: 1
Pls tel me wat is difference between c main and c++ main?
Oct 3 '06 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 8,916
Err, none.

Well OK only C++ can use the form

int main()
return 0;

Both C and C++ use the form

int main(int argc char **argv)
return 0;

It is exactly the same for both of them, no differences.
Oct 3 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.