shift_and in C