This video explains the correct return type to be used with the main function.
Should it be void main or int main.
where does the return value of main go, who collects the value returns by main.
What does return 0 in main represent?
http://www2.cs.uregina.ca/~hilder/cs8...