I didn't understood abnormal termination. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I didn't understood abnormal termination.

When value of return is non zero, what happens?

9th Jul 2016, 10:28 AM
Kartik Vaswani
Kartik Vaswani - avatar
1 Answer
0
Do you mean the main function? Well, if the main function returns non-zero int, any Unix based operating system gonna view it as a error signal from your program.
10th Jul 2016, 7:03 PM
Борис Кот
Борис Кот - avatar