Question PSC-BIT-0023
EasyWhat will be printed by the following pseudocode?
Print 12 | 10
- A.
22
- B.
8
- C.
Show answer and explanation
Answer: C
1100 | 1010 = 1110, which is 14.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Bitwise Operators question
What will be printed by the following pseudocode?
Print 12 | 10
22
8
Answer: C
1100 | 1010 = 1110, which is 14.
14
6