...
In this noncompliant example, an int
is converted to float
.:
Code Block | ||||
---|---|---|---|---|
| ||||
#include <stdio.h> int main() { int big = 1234567890; float approx = big; printf("%d\n", (big - (int)approx)); return 0; } |
...
...
In this noncompliant example, an int
is converted to float
.:
Code Block | ||||
---|---|---|---|---|
| ||||
#include <stdio.h> int main() { int big = 1234567890; float approx = big; printf("%d\n", (big - (int)approx)); return 0; } |
...