Operator

Operator is used to operate the operands.

Arithmatical Operator

  • ( + ) Addition
  • ( – ) substraction
  • ( * ) Multiplication
  • ( / ) Division
  • ( % ) Modulus Division

Logical Operator

  • ( && ) Logical AND
  • ( || ) Logical OR
  • ( <> ) Logical NOT

Relational Operator

  • ( > ) Greater than
  • ( < ) Less than
  • ( >= ) Greater than or Equal to
  • ( != ) Not Equal to
  • ( <= ) Less than or Equal to
  • ( == ) (Compare) Equal to

Assignment Operator

  • ( += ) Addition Assignment
  • ( -= ) substraction Assignment
  • ( *= ) Multiplication Assignment
  • ( /= ) Division Assignment
  • ( %= ) Modulus Division Assignment
  • ( = ) Assignment

Increment or Decrement Operator

  • ( ++ ) Increment
  • ( — ) Decrement

Conditional Operator

  • ( ? ) Then
  • ( : ) Else

Bitwise Operator

  • ( & ) Bitwise AND
  • ( | ) Bitwise OR
  • ( ~ ) Bitwise NOT
  • ( ^ ) Bitwise Exclusive OR
  • ( << ) Bitwise Left Shift
  • ( >> ) Bitwise Right Shift

© 2014 Powered By