C++ compiler is basically a multi-phase compiler. Which has preprocessing phase, compilation phase, and linking phase.