Question PSC-BIT-0057
MediumWhat does the following pseudocode print?
Integer x = 200
x = x >> 2 << 2
Print x, 203 >> 2 << 2
- A.
800 812
- B.
200 200
- 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
Bitwise Operators question
What does the following pseudocode print?
Integer x = 200
x = x >> 2 << 2
Print x, 203 >> 2 << 2
800 812
200 200
Sign up free to see the answer and a step-by-step explanation.
50 50
200 203