0

What is abnornal termination of main() function ?

22nd May 2018, 3:56 AM
Shivam Kumar
2 ответов
+ 2
Every termination where you don't return an int to the operating system. When main() reaches its ending curly brace }, that's no abnormal termination because it returns 0 anyways although you didn't tell explicitly to do so.
22nd May 2018, 2:59 PM
Timon Paßlick
0
Examples of abnormal termination, When abort() is called exception isn't catched division by zero etc...
22nd May 2018, 4:36 AM
Disvolviĝo;
Disvolviĝo; - avatar