1.

Which among thegiven function causes abnormal program termination ?(a) exit()(b) abort()(c) atexit()(d) getenv()I got this question by my college professor while I was bunking the class.Question is from General Utilities topic in section C Library of C

Answer»

Right answer is (b) ABORT()

To EXPLAIN I would say: void abort (void);

The abort() function causes ABNORMAL PROGRAM termination to OCCUR, and comes out directly from that place.



Discussion

No Comment Found

Related InterviewSolutions