Question: what is the difference between stack and array?
Answer: Stack is a linear data structure in which insertion and deletion(PUSH and Pop operations) can be done only from only one end ie TOP. as an array is a collection of homogeneous data type elements. Answer: Array is a linear Data Structure in which insertion and deletion can take place in any position.