What is difference between GCC and G ++?
Answer
The main differences: gcc will compile: .c/.cpp files as C and C++ respectively. g++ will compile: .c/.cpp files but they will all be treated as C++ files. Also if you use g++ to link the object files it automatically links in the std C++ libraries (gcc does not do this).
Answer
The main differences: gcc will compile: .c/.cpp files as C and C++ respectively. g++ will compile: .c/.cpp files but they will all be treated as C++ files. Also if you use g++ to link the object files it automatically links in the std C++ libraries (gcc does not do this).