can you please confirm that below understanding of stack is correct or not ?
stack in data structure Definition -
Stack is a dynamic data structure with verity of application in the field of computing it is known as dynamic data structure because stack is Last In First Out (LIFO) data structure because new items are added to the top of the stack and item can only be removed from top. A stack is also known as Abstract Data Type.
Real World Example of Stack -
A stack of neatly folded shirts.
A stack of coin. A stack of plates.
To implement a stack you can use array variable.