Which of the following applications may use a stack? (A) Parenthesis balancing program
Which of the following applications may use a stack?
(A) Parenthesis balancing program
(B) Process scheduling in operating system
(C) Conversion of infix arithmetic expression to postfix form
Show answerHide answer
Correct answer: (C) (A) and (C)
Explanation
Stacks are used for parenthesis balancing and infix-to-postfix conversion, so (A) and (C) are correct. Process scheduling uses queues, not stacks.