1.

Is It Possible To Execute Code Even After The Program Exits The Main () Function?

Answer»

The standard C LIBRARY provides a function named at EXIT () that can be used to perform “cleanup” operations when your program terminates. You can set up a set of functions you want to perform automatically when your program EXITS by PASSING function POINTERS to the at exit() function.

The standard C library provides a function named at exit () that can be used to perform “cleanup” operations when your program terminates. You can set up a set of functions you want to perform automatically when your program exits by passing function pointers to the at exit() function.



Discussion

No Comment Found