What is the restriction that the array-based implementation of a stack places on the push operation code example
Example: is array a stack data structure
For example, an array is a sort of linear data structure. However, you can access any element in an array--not true for a stack, since you can only deal with the element at its top.