1.

Which of them is a memory that is allocated to the program in LIFO pattern?(a) stack(b) index(c) accumulator(d) baseThis question was addressed to me in my homework.Question is taken from Memory Organisation of Embedded Systems topic in portion Memory Systems of Embedded Systems

Answer»

Correct choice is (a) stack

The explanation is: A stack is a MEMORY which is ALLOCATED to the PROGRAM in last-in, first out pattern. Stack pointer contains the memory ADDRESS of the stack.



Discussion

No Comment Found

Related InterviewSolutions