Operators in C

Operators in C

Operators in C  are:
  1. Assignment operator (=)

  2. Arithmetic operator
    • Add operator (+)
    • Subtraction operator (-)
    • Multiplication operator (*)
    • Division operator (/)
    • Modulus operator (%)

  3. Relational operator 
    • Greater than (>)
    • Greater than equal to (>=)
    • Less than (<)
    • Less than equal to(<=)
    • Equal to equal to(==)
    • Not equal to(!=)

  4. Logical operator
    • And (&&)
    • Or(||)
    • Not(!)

  5. Address operator(&)

  6. Increment operator(++)

  7. Decrement operator(--)

  8. sizeof operator

No comments:

Post a Comment