...
Code Block | ||
---|---|---|
| ||
int si1; int si2; int sresult; sresult = si1 << si2; |
Do not apply shift oprators to signed typesShift operators, and other bitwise operators, should only be used with unsigned integer operands, in accordance with INT13-C. Use bitwise operators only on unsigned operands.
...