Computer Science, asked by aaabhishek9511, 11 months ago

While representing the stack in one dimensional array,what does the push operation top = top +1 indicates?

Answers

Answered by Answers4u
0

The process of inserting a new item in the stack is called as push operations in stack terminology.

Top = Top + 1 shows that the stack is growing at the time of representing the particular stack in a one dimensional array.

A stack may grow in both upward and downward direction depending on the compiler program.


Similar questions