Thanks all who give rply on my  topic : call a function before main...
here i m hiving a solution for calling a function before main & calling 
function after mani...
i have tested this program on 'TC' compiler .......
i have found from net......
if u wand explanation about program reply me........

#include<conio.h>
void india();
void usa() ;
#pragma startup india 105
#pragma startup usa 106
#pragma exit usa
#pragma exit india 105
void main()
{
printf("\nI am in main");
getch();
}
void india()
{
clrscr();
printf("\nI am in india");
getch();
}
void usa()
{
//clrscr();
printf("\nI am in usa");
getch();
}



      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
http://in.yahoo.com/

[Non-text portions of this message have been removed]

  • [c-prog] Re:Function ca... raj tujare

Reply via email to