//#include <stdlib.h>
//int atexit(void (*function)(void));
#include <stdlib.h>
#include <stdio.h>
void fn1(void ),fn2(void ),fn3(void ),fn4(void );
int main()
{
atexit(fn1);
atexit(fn2);
atexit(fn3);
atexit(fn4);
printf("This is executed first./n\n");
return 0;
}
void fn1()
{
printf("next./nfn1\n");
}
void fn2()
{
printf("next./nfn2\n");
}
void fn3()
{
printf("next./nfn3\n");
}
void fn4()
{
printf("next./nfn4\n");
}
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。