How to find out the version of my C / C ++ in the Linux operating system?

4

I would like to learn how to find out the version of my C/C++ in the Linux operating system.

How could I do this through Terminal ?

    
asked by anonymous 06.01.2016 / 12:29

1 answer

6

To know the version of your C compiler, this command should work:

gcc --version

or

gcc -v

Just type in a Linux terminal.

Note that the C compiler, C ++ compiler, libc, and libstdc ++ are different things from each other.

    
06.01.2016 / 12:37