Question PSC-BIT-0056
MediumWhat is the output of this pseudocode?
Integer a = 5, b = 3
Print (a & b) + (a | b), a + b
- A.
6 8
- B.
7 8
- C.
8 8
- D.
8 7
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 a = 5, b = 3
Print (a & b) + (a | b), a + b
6 8
7 8
8 8
8 7
Sign up free to see the answer and a step-by-step explanation.