Question PSC-OPS-0046
MediumWhat is the output of this pseudocode?
Integer i = 5, j
j = ++i * 2
Print i, j
- A.
5 12
- B.
6 10
- 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 is the output of this pseudocode?
Integer i = 5, j
j = ++i * 2
Print i, j
5 12
6 10
Sign up free to see the answer and a step-by-step explanation.
6 12
5 10