• Курсы
  • Компилятор кода
  • Обсуждения
  • Цены
  • Teams
Menu
+ 2

What is the purpose of return 0?

c++
6th Feb 2018, 12:03 PM
Karthi Deepak
Karthi Deepak - avatar
2 ответов
+ 7
return 0 means that your program execute is sucessfull, in other case it will be returned some negative value, often -1
6th Feb 2018, 12:13 PM
Vukan
Vukan - avatar
+ 6
https://www.sololearn.com/discuss/220394/?ref=app https://www.sololearn.com/discuss/235256/?ref=app https://www.sololearn.com/discuss/570703/?ref=app
6th Feb 2018, 12:13 PM
Dev
Dev - avatar

Часто задают такие вопросы?

Учитесь эффективнее, бесплатно:

  • Введение в Python

    7.1M учащихся

  • Введение в Java

    4.7M учащихся

  • Введение в C

    1.5M учащихся

  • Введение в HTML

    7.5M учащихся

Смотреть все курсы
Актуальное сегодня
When your heart are gone
1 Votes
Hi im a begneer and i dont understand how to code if anyone whos smart replay
1 Votes
i want correct anwer code
0 Votes
Python question
1 Votes
Where do I find saved code?
1 Votes
I am a beginner here
1 Votes
Hello everyone, umm i downloaded this app today , and I am a bit confused about this
0 Votes
SVG Animation: Container Problems - Any Suggestions?
0 Votes
In data science, which part is easy to learn and which is hard, and why? Which part is most important to data science?
1 Votes
is it too easy to be top 1 in the Earth league
0 Votes