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