Right shift of a negative integer

suggest change
int signed_integer = -1;

// The right shift operation exhibits implementation-defined behavior:
int result = signed_integer >> 1;

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents