Question DSA-BIT-0018
HardWhat is the result of ~5 in Python (or for a signed int in C)?
- A.
−5
- B.
2
- 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 is the result of ~5 in Python (or for a signed int in C)?
−5
2
Sign up free to see the answer and a step-by-step explanation.
250
−6