Why do we preffer writing int main() instead of void main()...? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 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 Respuestas