Arithmetic/logical shift?

Have just learned from the previous posting that:

  1. Arithmetic/logical shift is determined by the datatype.
  2. Use the max bitlength o test the behaviour of shift operation in certain datatypes (in this case 32 bits for int).
Advertisements