CPP vs C++ code example
Example 1: c vs c++
C Because it is faster and lighter, but if you need objects the c++
Example 2: c++ vs g++
c++ will be a symlink to g++
NOTE:
cc and c++ are names of POSIX compilers. More likely than not, c++ will be a symlink to g++, and cc to gcc