Question DSA-BIT-0049
MediumWhat does x & 1 tell you?
- A.
Whether x is odd (1) or even (0)
- B.
The highest 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 & 1 tell you?
Whether x is odd (1) or even (0)
The highest bit of x
Sign up free to see the answer and a step-by-step explanation.
The number of bits in x
Whether x is negative