Features of C++

Written by

Vaaruni Agarwal

C++ is an object-oriented programming language. It provides a lot of features that are given below.

  1. Simple
  2. Machine Independent or Portable: C++ programs can be executed on any computer thus it is machine independent.
  3. Mid-level programming language: C++ supports some features of high-level languages and some features of the low-level language, thus, it is considered a mid-level programming language.
  4. Structured programming language: C++ statements can be broken into functions and modules, thus they are easy to understand.
  5. Memory Management: C++ provides features of dynamic memory allocation.
  6. Fast Speed
  7. Compiler-based: In C++ first the source code is compiled and then it is executed, thus C++ is a compiler based programming language.
  8. Object-Oriented Programming Language: C++ is an object-oriented programming language, which makes it easy to understand and manage.

 

The Code written in C++ is always saved with a .cpp extension. Eg: Code.cpp is a C++ program

Features of C++