c vs c++ code examples Example: c vs c++ C Because it is faster and lighter, but if you need objects the c++