What does it means calling process ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What does it means calling process ?

returning to value 0

30th Jul 2018, 3:41 PM
Abhay Sonwane
1 Answer
+ 4
In C and C++ programs the main function is of type int and therefore it should return an integer value. The return value of the main function is considered the "Exit Status" of the application. On most operating systems returning 0 is a success status like saying "The program worked fine".
30th Jul 2018, 3:45 PM
Scooby
Scooby - avatar