개발공부/C
변수의 영역
dyson_ok
2019. 10. 17. 20:26
Storage duration:
- static storage duration
프로그램이 시작될때 메모리에 자리를 잡고 끝날때까지 있다.
(Note: 'static' keyword indicates the linkage type, not the storage duration)
- automatic storage duration
보통 지역변수를 의미하고 스택에 저장된다.
- allocated storage duration
동적할당과 관련이 있다.
- thread storage duration
멀티쓰레딩