Which of the following statement is true about stack data structure?

1
In enqueue operation, stack pointer is incremented then an element is inserted into stack
2
In push operation, stack pointer is decremented then an element is inserted into stack
3
In pop operation, stack pointer in incremented then an element is deleted from stack
4
In dequeue operation, stack pointer is decremented then element is deleted from stack

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation