+ 1

Why do we preffer writing int main() instead of void main()...?

we usually write int main() .. some IDE do not support void main() but others do.. so why do we write int main() and return 0 at the end.. Are there other return values of int main() used for some meaning..??

25th Sep 2017, 5:44 PM
Ankur Pashine
Ankur Pashine - avatar
0 Answers