Why do we preffer writing int main() instead of void main()...? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula gr√°tis
+ 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 Resposta