answered
Stack is an LIFO(last in , first out) data type or data structure.a stack is an restricted data type because a small number of operation are performed in it.and it use pop and push operation.