...
Code Block | ||
---|---|---|
| ||
mytypedef_t x; printf("%llu", (unsigned long long) x); |
This code example is non-compliant for two reasons: it assumes that x
has type unsigned long long
and that unsigned long long
is large enough to represent x
.
Compliant Solution (printf()
)
...