Explain the difference between PUSH and POP?
S.no | Push | Pop |
---|---|---|
1. | Push function is used for inserting the element into the stack | The pop function is used for taking the component out from top of the stack |
BY Best Interview Question ON 02 Feb 2019