Question PSC-BIT-0069
HardWhat is the output of this pseudocode?
Integer x = 0xF0, y = 0x3C
Print x & y, x | y, x ^ y, (x ^ y) >> 2
- A.
48 252 204 50
- B.
48 252 60 51
- 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 is the output of this pseudocode?
Integer x = 0xF0, y = 0x3C
Print x & y, x | y, x ^ y, (x ^ y) >> 2
48 252 204 50
48 252 60 51
Sign up free to see the answer and a step-by-step explanation.
48 252 204 51
60 240 204 51