QUESTION 1. What are the various applications of a stack data structure? QUESTION 2. When do you get error message …

QUESTION 1. What are the various applications of a stack data structure? QUESTION 2. When do you get error message “Queue overflow” and “Queue underflow”? Explain with example.