Question DSA-BIT-0055
MediumWhat does n & −n isolate?
- A.
The lowest set bit of n
- B.
The highest set bit
- 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 n & −n isolate?
The lowest set bit of n
The highest set bit
Sign up free to see the answer and a step-by-step explanation.
All bits except the lowest
The sign bit