Question PSC-OPS-0021
EasyWhat will be the output of the following pseudocode?
Print 10 + 3 * 2
- A.
16
- B.
26
- C.
Show answer and explanation
Answer: A
Multiplication comes before addition: 3 × 2 = 6, then 10 + 6 = 16.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Operators and Expressions question
What will be the output of the following pseudocode?
Print 10 + 3 * 2
16
26
Answer: A
Multiplication comes before addition: 3 × 2 = 6, then 10 + 6 = 16.
23
15