Undefined - behavior is not defined in C standard and may be compilers change it to defined
Vishwajith-K opened this issue · 0 comments
Vishwajith-K commented
- Number of shifts for a number is negative (
a << -10
) - Number of shifts for a number is more than the bits in the number (
sizeof(a) == 32 && a << 33
)