> Question: Is shifting by a negative quantity defined (that is, > probably means the other shift.) I could find no mention in K&R. You apparently didn't look on page 189, where it says: "The result is undefined if the right operand is negative, or greater than or equal to the length of the object in bits."