Question DSA-BIT-0010
MediumWhat does x & (−x) give in two's complement?
- A.
The lowest set bit of x
- B.
The highest set bit of x
- 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 x & (−x) give in two's complement?
The lowest set bit of x
The highest set bit of x
Sign up free to see the answer and a step-by-step explanation.
−1
0