The termination of the program may happen in one of the following ways,
Normal termination,
· by calling return explicitly from the main(),
· by reaching the end of main() (returns with implicit value 0),
· by calling exit(),
Abnormal termination,
· by calling abort(),
· by the occurrence of exception condition at runtime ,
· by raising signals.
0 comments:
Post a Comment