#include <stdio.h>
#include <stdlib.h>
void functionA () {
printf("This is functionA/n");
}
int main () {
/* register the termination function */
atexit(functionA );
printf("Starting main program.../n");
printf("Exiting main program.../n");
return(0);
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/265251.html