• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

Why we use return 0 not return 1 or return 2 or any thing else?

c++
27th Jun 2018, 4:18 PM
Parul Kashyap
2 Answers
+ 2
https://www.sololearn.com/discuss/1226950/?ref=app https://www.sololearn.com/discuss/1009226/?ref=app
27th Jun 2018, 4:32 PM
Agent
Agent - avatar
+ 1
you can return other things However, normally you will not want to return anything so we just wright return 0;
27th Jun 2018, 4:21 PM
Agent
Agent - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Is this realistic enough?
1 Votes
"Which is harder to master — Machine Learning or Cybersecurity? And why?"
1 Votes
"What’s the best way to combine creativity and coding? Can storytelling improve web apps?"
1 Votes
Need friends
0 Votes
MASS N NUMBER OF OBJECT DELETION FROM A CLASS
0 Votes
I am a beginner, please teach me how to use Python
0 Votes
Python
1 Votes
Can u learn multiple language at the same time, without misplacing the formats of each with the other
0 Votes
How do you print inputs
0 Votes
Can someone please explain python for me
0 Votes