4. stack과 heap에 대하여 설명하라(기술면접) What is heap and stack? http://www.maxi-pedia.com/what+is+heap+and+stack What is stack? The two sections other from the code segment in the memory are used for data. The stack is the section of memory that is allocated for automatic variables within functions. Data is stored in stack using the Last In First Out (LIFO) method. This means that storage in the memory is allocated and deallocated at ..