1.

In an application that uses heap, the memory for data is allocated ____________(a) logical(b) dynamically(c) statically(d) at the beginning of the programThe question was posed to me in semester exam.I want to ask this question from Buffer Overflow in division Cyber Security of Cyber Security

Answer»

Right option is (b) dynamically

For explanation: In an APPLICATION that USES the HEAP, memory UTILIZED by the application is ALLOCATED dynamically at runtime. Access to such memories is comparatively slower than memories that use the stack.



Discussion

No Comment Found

Related InterviewSolutions