Created
November 20, 2021 08:26
-
-
Save lotusirous/6ab1ccfbee96a0802a7694b6bdfae3a4 to your computer and use it in GitHub Desktop.
The version of c you are using
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#define version __STDC_VERSION__ | |
int | |
main (int argc, char *argv[]) | |
{ | |
printf ("Your c version is: %ld\n", version); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://stackoverflow.com/questions/36662063/how-can-i-know-the-version-of-c