I think that we are getting a bit off track, but it is also worth noting that although two's compliment is the most popular representation of a negative number, the C standards do not specify that it has to be that.
That is why...
Originally Posted by [URL="https://cboard.cprogramming.com/member.php?u=86607"Originally Posted by C99 6.5.7 Bitwise shift operators
Code:// This could equal anything depending on the environment that it is running on... banana = -7 << 1;