8. Unary Operators

Unary Operators

Use: Single operand पर काम करते हैं
Examples: 
++ -- ! -

Advantages:

  • Counters के लिए useful

Disadvantages:

  • Pre/Post increment confusing