matheus__serpa

preload

Apr 19th, 2020
627
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.23 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. static void __attribute__ ((constructor)) constructor();
  4.  
  5. static void constructor(){
  6.     printf("oi\n");
  7. }
  8.  
  9. static void __attribute__ ((destructor)) destructor();
  10.  
  11. static void destructor(){
  12.     printf("tchau\n");
  13. }
Advertisement
Add Comment
Please, Sign In to add comment