A few days ago
umesh d

tell me the statement exit(0) what is the use of this 0?

tell me the statement exit(0) what is the use of this 0?

Top 2 Answers
A few days ago
Indiana Jones

Favorite Answer

that statement forces a successful return code to the OS

it’s actually cheating, you should set and return a variable, like exit( value );

0

A few days ago
khadra
it means ur there
0