#include int main(int argc, char** argv) { // Check for C standard version #if __STDC_VERSION__ >= 201710L printf("We are using C18!\n"); #elif __STDC_VERSION__ >= 201112L printf("We are using C11!\n"); #elif __STDC_VERSION__ >= 199901L printf("We are using C99!\n"); #else printf("We are using C89/C90!\n"); #endif // Indicate successful execution printf("C standard is: %ld\n\n", __STDC_VERSION__); return 0; }