You are viewing a single comment's thread. Return to all comments →
why do we have the
It is a status return for the operating system. 0 means the program has executed successfully. Any non-0 return value indicates an error.
We use int main()at starting it must return the value so,in my opinion, we return the zero value.
every function have a return type thats why we take return......