Question PSC-OPS-0075
HardWhat does the following pseudocode print?
Integer a = 0xA, b = 012, c = 10
Print a == c, a + c
- A.
true 30
- B.
false 20
- 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 does the following pseudocode print?
Integer a = 0xA, b = 012, c = 10
Print a == c, a + c
true 30
false 20
Sign up free to see the answer and a step-by-step explanation.
true 20
true 1010