M

Mr. Dubey • 100.69K Points
Coach

Q. Which of the following statement is true about stack?

  • (A) pop operation removes the top most element
  • (B) pop operation removes the bottom most element
  • (C) push operation adds new element at the bottom
  • (D) push operation removes the top most element
Share

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.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics