• Corsi
  • Compilatore di codice
  • Discuti
  • Prezzi
  • Squadre
Menu
0

Why do we use return 0; in C++,Can we put integer 1 in return?

Please help me

saransh
12th Aug 2020, 1:43 AM
Saransh
Saransh - avatar
2 Risposte
+ 5
Repeated question Always use search bar before posting any question. here is short summary 👇 return value of main() is used as exit code of a program and exit code 0 means that program ended without any errors. Here are some similar threads 👇 https://www.sololearn.com/discuss/797593/?ref=app https://www.sololearn.com/discuss/239589/?ref=app https://www.sololearn.com/discuss/352402/?ref=app https://www.sololearn.com/discuss/2053622/?ref=app https://www.sololearn.com/discuss/355420/?ref=app https://www.sololearn.com/discuss/220394/?ref=app https://www.sololearn.com/discuss/1867350/?ref=app
12th Aug 2020, 1:49 AM
Arsenic
Arsenic - avatar

Hai spesso domande come questa?

Impara in modo più efficiente, gratuitamente:

  • Introduzione a Python

    7,1M studenti

  • Introduzione a Java

    4,7M studenti

  • Introduzione a C

    1,5M studenti

  • Introduzione a HTML

    7,5M studenti

Vedi tutti i corsi
Popolare oggi
I tried changing my username already to see if the name on the certificates will change but they didn’t .
1 Votes
Started learning python
0 Votes
Hi guys I’m enjoying learning but problem is practice
0 Votes
Websites for frontend developers
1 Votes
Discrete mathematics (python)
0 Votes
How can one build an Ai app
1 Votes
I need help in programing
0 Votes
Error in Ethical AI Foundations course
1 Votes
C++, c# , graphical interface
1 Votes
I need a mentor in coding specifically AI
0 Votes