Search Results

Search: Posts Made By: pvsola
Forum: Programming 03-07-2008
9,876
Posted By pvsola
Yes it is possible to call function before and after main() function
#pragma startup f_start
#pragma exit f_exit

f_start()
{
printf("hi\n");
}

f_exit()
{
printf("EXIT\n");
}

main()
{
printf("hello\n");
}

----O/P---
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 12:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy