6.6 Assigning one value to several variables

  ---------------------------------------------

 

      If you need to assign the same values to several variables:

 

    var1=0;

    var2=0;

    var3=0;

 

  this can be written shortly as:

 

    var1=var2=var3=0;

 

      This approach generates more compact and faster code.