What Values of The Bits Are Shifted in After The Shift

In case of signed left shift >> the new bits are set to zero. But in case of signed

right shift it takes the value of most significant bit before the shift, that is if the most

significant bit before shift is 0 it will introduce 0, else if it is 1, it will introduce 1