Constructor 와 Destructor 는 main 함수가 실행되기 전에 호출되는 special function 이다.main function 이 load 되기 전에 __libc_csu_init 함수에서 constructor 들이 호출된다. 포멧:__attribute__((constructor))__attribute__((destructor))__attribute__(constructor (PRIORITY)))__attribute__(destructor (PRIORITY))) 예제:#include void begin (void) __attribute__((constructor));void end (void) __attribute__((destructor)); int main(){ printf("\n..