Short-hand operators
 

  • C has many short-hand operators

  • Short-hand operators shortens an expression written using "non-short-hand" operators

    Example:

        Expression   Expression with a short-hand operator
        ==========   ========================================
        i = i + 1;   i++;    (combines = and + into 1 operator) 
        i = i * 7;   i *= 7; (combines = and * into 1 operator)
      


  • In fact:

    • Program languages created by European Computer Scientists (e.g.: Algol, Pascal, Modula) do not use any short-hand operators....