• Cursos
  • Code Compiler
  • Discussão
  • Preços
  • Equipas
Menu
+ 2

Why do I use void main in place of int main

Why do I use void main in place of int main

voiddowhyiuse
11th Jan 2018, 5:15 AM
Shalin Suthar
Shalin Suthar - avatar
1 Resposta
+ 4
For C++, you never do. The standard states int main so the programmer codes int main. https://www.sololearn.com/Discuss/11014/what-if-we-used-void-main-instead-of-int-main https://www.sololearn.com/Discuss/973021/what-is-the-different-between-void-man-int-main-function https://www.sololearn.com/Discuss/575950/can-we-use-void-main-instead-of-int-main
11th Jan 2018, 5:26 AM
John Wells
John Wells - avatar

Tens frequentemente perguntas como esta?

Aprende de forma mais eficiente, gratuitamente:

  • Introdução ao Python

    7,1M de estudantes

  • Introdução ao Java

    4,7M de estudantes

  • Introdução ao C

    1,5M alunos

  • Introdução ao HTML

    7,5M alunos

Ver todos os cursos
Popular hoje
Certificates
0 Votes
Regarding platform
1 Votes
Machine Learning models “learn” kaise karte hain?
0 Votes
How can A.I be used for social media manager ?
0 Votes
How can i make turtle art in sololearn
0 Votes
Inquiry for img code
0 Votes
Music ingame
0 Votes
C language
0 Votes
Iske python mein phishing page kaise banay
0 Votes