Question PSC-OPS-0018
HardWhat will be the output of the following pseudocode?
Integer n = 1234
Print (n / 100) mod 10 + (n mod 100) / 10 // integer division
- A.
5
- B.
4
- 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 n = 1234
Print (n / 100) mod 10 + (n mod 100) / 10 // integer division
5
4
Sign up free to see the answer and a step-by-step explanation.
7
3