Computer Science
Related Questions
Assertion (A): An error gets displayed when you try to delete an element from an empty Stack.
Reasoning (R): Inserting an element when the Stack is full is termed as Underflow.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
What is Stack? Why is it called LIFO data structure?
Write applications of Stack.
Can a Stack be used to convert a decimal number into a binary number?