1.

Which of the following contains the return information of the stack?(a) table(b) vector(c) frame(d) blockI got this question in an interview for job.This intriguing question originated from Buffer Memory in chapter Buffering and other Data Structures of Embedded Systems

Answer»

Correct OPTION is (c) frame

Best explanation: The stack contains certain frames which are used to STORE the return information of the stack and THUS the frame need to be removed by adjusting the stack pointer accordingly. NORMALLY this is done to AVOID the memory leakage.



Discussion

No Comment Found

Related InterviewSolutions