+ 1

What is the use of "return 0;" in C?

So what I know is that "return 0;" means the code has been executed successfully, but is it necessary, as the code will run just fine without the return or if the return is of a different integer. https://sololearn.com/compiler-playground/cwa2TrljBbEy/?ref=app

30th Dec 2024, 6:17 PM
Irbis (EVIL)
Irbis (EVIL) - avatar
1 Réponse