C Preprocessor Question:
Download Questions PDF

#pragma exit is primarily used for?

a) Checking memory leaks after exitting the program
b) Informing Operating System that program has terminated
c) Running a function at exitting the program
d) No such preprocessor exist


(Running a function at exitting the program)
Explanation:It is primarily used for running a function upon exitting the program.

Download C Preprocessor Interview Questions And Answers PDF

Previous QuestionNext Question
#include statement must be written

a) Before main()
b) Before any scanf/printf
c) After main()
d) It can be written anywhere
The C-preprocessors are specified with _________symbol.
a) #
b) $
c) " "
d) None of the mentioned