adplus-dvertising
frame-decoration

Question

#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 exist

Posted under C Programming

Answer: (c).Running a function at exiting the program

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. #pragma exit is primarily used for?