• Cursos
  • Compilador de Código
  • Discutir
  • Preços
  • Teams
Menu
+ 2

Using return 0 or 1 or 2 to close main function giving same result why?

writing return 1 instead of return 0 gives same result.

c++
27th Oct 2017, 2:48 AM
Shubham Sharma
Shubham Sharma - avatar
1 Resposta
+ 15
You can use any of them.. https://www.sololearn.com/discuss/259277/?ref=app
27th Oct 2017, 2:50 AM
Frost
Frost - avatar

Costuma ter perguntas como essa?

Aprenda de maneira mais eficiente, de graça:

  • Introdução ao Python

    7.1M de alunos

  • Introdução ao Java

    4.7M de alunos

  • Introdução ao C

    1.5M alunos

  • Introdução ao HTML

    7.5M alunos

Ver todos os cursos
Quente hoje
Hello World!
0 Votes
What is wrost mistake that mostly people made while learning coding?
0 Votes
I'm lost with JavaScript (document.getElementById(".") And clearly making mistakes, Can someone help, I thought I had it but no.
0 Votes
What’s the actual difference between MB and GB in real-world usage?
1 Votes
Script file names
0 Votes
How to put multiple inputs in python?
1 Votes
Html learn
1 Votes
What can I do after learning python and how to create amazing codes. And how many times it would take to be a good programmer😅
0 Votes
I wish Ruby back in the course list
1 Votes
What to learn🤔
0 Votes