Question DSA-BIT-0073
HardWhat does popcount(a ^ b) compute?
- A.
The Hamming distance between a and b
- B.
a + b
- 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
Bit Manipulation question
What does popcount(a ^ b) compute?
The Hamming distance between a and b
a + b
Sign up free to see the answer and a step-by-step explanation.
The larger of a and b
a × b