A stack is a Last-In-First-Out kind of memory
True
False
Answers
Answered by
4
Answer:
it's true
Explanation:
The stack is a "LIFO" (last in, first out) data structure, that is managed and optimized by the CPU quite closely. ... Once a stack variable is freed, that region of memory becomes available for other stack variables. The advantage of using the stack to store variables, is that memory is managed for you.
Answered by
3
Answer:
true
Explanation:
Items in a stack are inserted or removed in a linear order and not in any random sequence. As in any queue or collection that is assembled, the data items in a stack are stored and accessed in a specific way. In this case, a technique called LIFO (Last In First Out) is used.
please follow me and mark me as brain list
Similar questions