Skip to content

Instantly share code, notes, and snippets.

@lotusirous
Created November 20, 2021 08:26
Show Gist options
  • Save lotusirous/6ab1ccfbee96a0802a7694b6bdfae3a4 to your computer and use it in GitHub Desktop.
Save lotusirous/6ab1ccfbee96a0802a7694b6bdfae3a4 to your computer and use it in GitHub Desktop.
The version of c you are using
#include <stdio.h>
#define version __STDC_VERSION__
int
main (int argc, char *argv[])
{
printf ("Your c version is: %ld\n", version);
return 0;
}
@lotusirous
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment