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