engineering recuitment OPSC Assistant Industries Officer Mock Test 2025 Programming and Data Structure
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