What is the result of ~5 ?
A. 5
B. -5
C. 10
D. -6
Answer: Option B
Solution(By Examveda Team)
The ~ operator performs bitwise NOT, inverting the bits of the number.Related Questions on Bitwise and Boolean
A. 5
B. -5
C. 10
D. -6
Answer: Option B
Join The Discussion