Q. Which operator inverts all bits?
Solution:
The ~ operator inverts all bits, e.g., ~5 = -6 in two’s complement.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
The ~ operator inverts all bits, e.g., ~5 = -6 in two’s complement.
Strengthen Your Practice with our comprehensive question bank.