- 2
Why return 0; is used for programming
6 Answers
+ 8
As Théophile said pls tag ur language.
When a functions return type is an integer , u have to write a return stmt returning an integer.
return 0 is written when u r returning null value just for the sake to meet syntax.
For eg: in C++ ,when we write int main() we usually write return 0 at the end.
+ 4
NINJAX GAMING Same with C. Read my comment above carefully.
0
Which langage?
And I don't need return 0; to do programming. đ
0
As Alphin k sajan my language is c . please tell y we use return 0;