PTC interview question

How does c/c++ compiler works?