Key Points Stack is a simple linear data structure that is used for storing data. In stack, the order in which the data arrives is the most important. Considering this, a stack can be defined as an ordered list in which insertion and deletion are performed at one end which is called top.
The element inserted at the last is the first one to be deleted. Hence, a stack is called First In Last Out (FILO) or Last In First Out (LIFO) list.
Mainly the following three basic operations are performed in the stack:
Push: Push operation adds an item/data into the stack. If the stack is full, then it is called an Overflow condition.
Pop: Pop operation removes an item/data from the stack. The items are popped in the reversed order in which they are pushed into the stack. If the stack is
empty, then it is called an Underflow condition.

So the poped elements are 1,5
Hence the correct answer is 1,5.
Additional InformationApplications of the stack:
- Balancing of symbols.
- Infix to Postfix /Prefix conversion.
- Implementing function calls (recursion).
- Undo sequence in a text editor.
- Forward and backward features in web browsers.
- Other applications can be Backtracking, a Knight tour problem, a rat in a maze, an N-queen problem, and a sudoku solver.