β
Correct Answer: (A)
pop operation removes the top most element
Explanation: as stack is based on lifo(last in first out) principle so the deletion takes place from the topmost element. thus pop operator removes topmost element.
Explanation by: Mr. Dubey
as stack is based on lifo(last in first out) principle so the deletion takes place from the topmost element. thus pop operator removes topmost element.
Discussion
Question Analytics
634
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
91%
Success Rate