1.

#pragma exit is primarily used for?(a) Checking memory leaks after exiting the program(b) Informing Operating System that program has terminated(c) Running a function at exiting the program(d) No such preprocessor existThis question was posed to me in my homework.I want to ask this question from C-Preprocessor in chapter C Functions and Structure of a Program of C

Answer»

Right option is (C) Running a function at EXITING the program

To EXPLAIN: It is primarily used for running a function UPON exiting the program.



Discussion

No Comment Found

Related InterviewSolutions