#include #include int main(int argc, char **argv) { if(argc==1) printf("%u\n", GCC_VERSION); else printf("%u.%u\n", __GNUC__, __GNUC_MINOR__); return 0; }