• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • Teams
Menu
0

return 1

return (anynumber):giveing same o/p even as return 0

c
29th Apr 2020, 5:28 AM
Bonam.Likitha Srilakshmi
2 Antworten
+ 4
As the format of code will be int main{ \\body return 0; } It is not like that we should use return 0 only. It means that we can actually return any integer, as we are using return type int for main function.
29th Apr 2020, 9:56 AM
Puthur Harthik
0
https://www.sololearn.com/discuss/2053622/?ref=app https://www.sololearn.com/discuss/1867350/?ref=app https://www.sololearn.com/discuss/1673522/?ref=app https://www.sololearn.com/discuss/355420/?ref=app https://www.sololearn.com/discuss/220394/?ref=app https://www.sololearn.com/discuss/797593/?ref=app https://www.sololearn.com/discuss/239589/?ref=app
29th Apr 2020, 4:17 PM
Jayakrishna 🇮🇳

Häufig solche Fragen?

Effizienter lernen, kostenlos:

  • Einführung in Python

    7.1M Lernende

  • Einführung in Java

    4.7M Lernende

  • Einführung in C

    1.5M Lernende

  • Einführung in HTML

    7.5M Lernende

Alle Kurse anzeigen
Heute heiß
Which is easier to learn first between python and JS?
0 Votes
API
0 Votes
Does sololearn teaches on how to create games
0 Votes
Sockets, etc
0 Votes
Quiz
0 Votes
I HAVE A PROBLEM I CANNOT ABLE TO SEND MESSAGE ANYONE AND ALSO MY MESSAGE SECTION NOT AVAILABLE "PLEASE ACTIVATE YOUR ACCOUNT
0 Votes
Necesitó ayuda
1 Votes
Any Sololearn Chat Groups that I could Join?
0 Votes
Controls issue
0 Votes
Excuse me, why do they always ask us to input without telling us what it is for in python.
1 Votes