Question
Download Solution PDFWhat is the result of evaluating the postfix expression “43*25* + 8 -” ?
Answer (Detailed Solution Below)
Detailed Solution
Download Solution PDFThe correct answer is 14
EXPLANATION:
- Scan the expression from left to right.
- When you encounter a number, push it onto the stack.
- When you encounter an operator, pop the required number of operands from the stack, perform the operation, and push the result back onto the stack.
- step by step:
So, the correct answer is 14
Last updated on Jun 12, 2025
-> The UGC NET June 2025 exam will be conducted from 25th to 29th June 2025.
-> The UGC-NET exam takes place for 85 subjects, to determine the eligibility for 'Junior Research Fellowship’ and ‘Assistant Professor’ posts, as well as for PhD. admissions.
-> The exam is conducted bi-annually - in June and December cycles.
-> The exam comprises two papers - Paper I and Paper II. Paper I consists of 50 questions and Paper II consists of 100 questions.
-> The candidates who are preparing for the exam can check the UGC NET Previous Year Papers and UGC NET Test Series to boost their preparations.