Memory Structure?

Untitled

스택(Stack) 영역 : 지역변수, 매개변수. OS가 관리

장점

단점

힙 (Heap) 영역 : 동적 메모리. 개발자가 관리