+ 1
So then no semicolon is needed after int main()???
that is int main() not int main(); am I right???
4 Answers
+ 5
Yes
+ 2
Semicolons only need to be there if the function is a prototype. Ex
int func();
int func(){return 6;}
+ 1
thanks
0
I mean how should I put it....
main comes in everything right??
so we don't need to put semicolon for main right?