+ 2
it's a return type for a function, meaning that nothing will be returned. you can actually make main a void function: void main() { cout << "Hello, World!!" << endl; } having main return any number is just a way to let us know that it succeeded in running.
21st Oct 2016, 5:56 AM
Zeke Williams
Zeke Williams - avatar