Advertisement
Guest User

Untitled

a guest
Dec 2nd, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #include<stdio.h>
  2.  
  3. void First();
  4. void Last();
  5.  
  6. #pragma startup First
  7. #pragma exit Last
  8.  
  9. void First()
  10. {
  11. printf("B4 main\n");
  12. }
  13.  
  14. void Last()
  15. {
  16. printf("After main\n");
  17. }
  18.  
  19. int main()
  20. {
  21. printf("Inside main\n");
  22. return 0;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement