What is the main purpose of the #pragma exit?
A. Examining memory leaks after exiting the application
B. Informing the operating system that the programme has been ended
C. Executing a function when the programme exits
D. No such preprocessor exists.
Answer:C
What is the main purpose of the #pragma exit?
A. Examining memory leaks after exiting the application B. Informing the operating system that the programme has been ended C. Executing a function when the programme exits D. No such preprocessor exists.
Explanation: It is typically used to perform a function when the programme is exited.