...
The program must be careful when performing operations on mixed types. This noncompliant code example shows an idiosyncrasy idiosyncracy of integer promotions.
| Code Block | ||
|---|---|---|
| ||
int si = -1;
unsigned int ui = 1;
printf("%d\n", si < ui);
|
...
...
The program must be careful when performing operations on mixed types. This noncompliant code example shows an idiosyncrasy idiosyncracy of integer promotions.
| Code Block | ||
|---|---|---|
| ||
int si = -1;
unsigned int ui = 1;
printf("%d\n", si < ui);
|
...