+ 3
If you type just main() it wouldn't be correct because main is a function and it has to return something so the question would be: Why does the program start with int main() and not void main()? whit int main() you can return an integer that notify the operating system or the calling process of an abnormal exit. Usually we return 0 for success and 1 for an error.
26th Feb 2018, 3:22 PM
J Domingo Jiménez J
J Domingo Jiménez J - avatar