InterviewSolution
Saved Bookmarks
| 1. |
Which of the following function can be used to terminate the main() function from another function safely?(a) return(expr);(b) exit(expr);(c) abort();(d) both exit(expr); and abort();The question was asked in class test.I'd like to ask this question from Error Handling topic in portion Input and Output in C of C |
|
Answer» Right OPTION is (B) exit(expr); |
|