In an application that uses stack, the memory for data is allocated ____________

Khang Lê

New member
In an application that uses stack, the memory for data is allocated ____________
A. logical
B. dynamically
C. statically
D. at the end of the program
 
Answer: c
Explanation: In application that uses heap, memory utilized by the application is allocated at the beginning of the function call and the memory get released at the end of a program. Accessing of values in the stack is very fast.
 

Tìm kiếm

Back
Top