Google News
logo
Cyber Security - Quiz(MCQ)
In an application that uses stack, the memory for data is allocated ______
A)
logical
B)
statically
C)
dynamically
D)
at the end of the program

Correct Answer :   statically


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.

Advertisement