Check out example codes for "c++ vs g++". It will help you in understanding the concepts better.

Code Example 1

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

Learn ReactJs, React Native from akashmittal.com