0
When we should use "int main()" and just "main()" ?
hai there i m so confused about this main()... When we should use "int main()" and just "main()" ?
2 Answers
+ 2
It makes no diffence. If you dont declare it defaults to integer.
+ 2
your main function usually should be void, when the function returns an integer you have to declare it int.