Chapter :-5 (English)
7. Unary Operators
Unary Operators
Definition:
Operate on a single operand.
Examples: ++ , -- , - , !
Advantages:
· Useful for counters and flags
· Saves code lines
Disadvantages:
· Pre/post increment can be confusing
· Overuse reduces readability