Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The program must be careful when performing operations on mixed types. This noncompliant code example shows an idiosyncrasy idiosyncracy of integer promotions.

Code Block
bgColor#FFcccc
int si = -1;
unsigned int ui = 1;
printf("%d\n", si < ui);

...