Question Bank (1 mark) · Q21
Q.What is the meaning of the symbol ‘~’?
Karnataka PUCTextbookShort· 1mImportance★★★★★est
66% · 101/154 Questions
You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
Start your 14-day free trial to unlock the full solution →[!TLDR]
The ~ symbol is the bitwise one's-complement (NOT) operator.
The tilde ~ is a unary bitwise operator that flips every bit of its operand: each 1 becomes 0 and each 0 becomes 1. This is called the one's complement. For example, complementing 00001001 gives 11110110. It is used in low-level bit manipul …
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.