Question PSC-OPS-0015
HardWhat will be the output of the following pseudocode?
Integer a = 2, b = 3
Print a + b * a - b / a + a mod b // integer division
- A.
10
- B.
7
- C.
Sign up free to see the answer and a step-by-step explanation.
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?
Integer a = 2, b = 3
Print a + b * a - b / a + a mod b // integer division
10
7
Sign up free to see the answer and a step-by-step explanation.
8
9