Operators

Operators

Operators

  1. Arithemetic Operators

    1. 
      
    2. + Addition 1+2
    3. - Subtraction 2-3
    4. * Multiplication 3*4
    5. / Division 4/3
    6. % Modules 5%3
  2. Unary Operators

    1. 
      
    2. ++ Increament a++ or ++a
    3. -- Decrement a-- or --a
    4. + Unary Plus +a
    5. - Unary Minus -a
  3. Assignment Operators

    1. 
      
    2. = equals
      • a=a+b a+=b
      • a=a-b a-=b
      • a=a*b a*=b
      • a=a/b a/=b
      • a=a%b a%=b
  4. Relational Operators

    1. 
      
    2. < Lessthan a < b
    3. > Greaterthan a > b
    4. <= Lessthan or Equal to a <= b
    5. >= Greaterthan or Equal to a >= b
    6. == Equalto a == b
    7. != Not Equal to a != b
  5. Bitwise Operators

    1. 
      
    2. & Bitwise AND a&b
    3. | Bitwise OR a|b
    4. ! Bitwise NOT a!b
  6. Logical Operators

    1. 
      
    2. && Logical AND a&&b
    3. || Logical OR a||b
    4. ! Logical NOT !TRUE or !FALSE

Popular posts from this blog

Flames program in c

Numerology program