0

main function

What's the difference between int Mainand void main in C++

12th Jun 2017, 2:02 PM
Arjun Kumar
Arjun Kumar - avatar
2 Respuestas
+ 7
int main returns an exit value of zero means the program run successfully. most cpp compilers will generate an error or warning if there is no return statement.
12th Jun 2017, 2:11 PM
khadeeja Shamna
khadeeja Shamna - avatar
0
hi
15th Jun 2017, 7:39 PM
ali22786
ali22786 - avatar