Go to the documentation of this file.00001 #include <stdio.h>
00002
00003 #pragma init (foo)
00004 #pragma fini (bar)
00005
00006 foo()
00007 { printf("foo is called\n");}
00008
00009 bar()
00010 { printf("bar is called\n");}
00011
00012 main()
00013 {
00014 printf("main is executing.\n");
00015 }