+ 1

So then no semicolon is needed after int main()???

that is int main() not int main(); am I right???

28th Jun 2017, 6:01 PM
Noor Mohamed
Noor Mohamed - avatar
4 Respostas
+ 5
Yes
28th Jun 2017, 6:46 PM
aklex
aklex - avatar
+ 2
Semicolons only need to be there if the function is a prototype. Ex int func(); int func(){return 6;}
28th Jun 2017, 6:05 PM
aklex
aklex - avatar
+ 1
thanks
28th Jun 2017, 6:46 PM
Noor Mohamed
Noor Mohamed - avatar
0
I mean how should I put it.... main comes in everything right?? so we don't need to put semicolon for main right?
28th Jun 2017, 6:11 PM
Noor Mohamed
Noor Mohamed - avatar