Which data structure is required to convert the infix to prefix notation?
Show answerHide answer
Correct answer: (B) Stack
Explanation
The conversion holds operators on a stack while scanning the expression, so a stack is needed.
Correct answer: (B) Stack
Explanation
The conversion holds operators on a stack while scanning the expression, so a stack is needed.
This is question 104 of BPSC TRE 2.0 (2023) Computer Class 9-10 — Previous Year Paper. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.