How to find my current compiler’s standard, like if it is C90, etc
This is compiler dependent, I’m supposing you’re using GCC. You could check your compiler defined macros using: gcc -dM -E – < /dev/null Check the manual about the flags, specially: ###__STDC_VERSION__### This macro expands to the C Standard’s version number, a long integer constant of the form yyyymmL where yyyy and mm are the year … Read more