Question DSA-BIT-0003
EasyWhat is 5 ^ 3?
- A.
8
- B.
1
- C.
Show answer and explanation
Answer: C
0101 XOR 0011 = 0110, which is 6.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Bit Manipulation question
What is 5 ^ 3?
8
1
Answer: C
0101 XOR 0011 = 0110, which is 6.
6
7