|
|
|
|
|
by ryl00
1881 days ago
|
|
> C, of course, just ignores this problem entirely. Many C/C++ compilers special-case printf, and can actually catch some printf format string problems at compile time. For example, gcc 5.4.0 and msvc 19 warned about both of the dodgy printf usages in your example (the type mismatch and the wrong number of arguments). |
|