#include<stdio.h> #include<conio.h> void func() ; #pragma startup func #pragma exit func void main(){ printf("\nThis is in main"); getch(); } void func(){ printf("\nThis is in func"); getch(); }