I\'m working on a Linux machine. Is there any system command to find the standard followed by the C compiler I\'m using?
You probably have gcc, in which case you can specify the standard at compile-time, e.g.
$ gcc -Wall -std=c89 foo.c -o foo
or:
$ gcc -Wall -std=c99 foo.c -o foo
Type:
$ man gcc
for full details.