Replies: 1 comment
-
Using the format specifiers incorrectly isn't treated as an error by most compilers though many of them will print a warning during compilation. For example, Visual Studio's compiler should do this by default: C4477 and so should clang: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to code in c language in vs code, i specified a float value under %d which is bascially a integer format specifier, but when i compiled it and runned it, the terminal printed 0 in place of giving an error of using wrong format specifier
Beta Was this translation helpful? Give feedback.
All reactions