Shifting by more than (or equal to) the variable length is undefined in C.
Attach a file by drag & drop or click to upload