C++ is a general purpose programming language based on C and it supports both procedural and object-oriented programming.