Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Missed the si1 and si2 vars

...

Code Block
bgColor#FFcccc
langc
int si1si_a;
int si2si_b;
int sresult;

/* Initialize si1si_a and si2si_b */

sresult = si1si_a << si2si_b;

Shift operators and other bitwise operators should be used only with unsigned integer operands in accordance with INT13-C. Use bitwise operators only on unsigned operands.

...