eric:computer:c-compiler-version
This is an old revision of the document!
How to display the version of C you are compiling into.
Copy and past the following into your terminal:
gcc -dM -E - < /dev/null | grep __STDC_VERSION__ | awk '{ print $2 " --> " $3 }'
It should produce output such as:
__STDC_VERSION__ --> 201710L
Code from: https://stackoverflow.com/questions/36662063/how-can-i-know-the-version-of-c
eric/computer/c-compiler-version.1791575587.txt.gz · Last modified: by admin
