Home >>C++ Tutorial >C++ features

C++ features

Features of C++

As a matter of fact, we all know that C++ is a programming language that is object oriented. There are numerous features of C++ programming language that are mentioned below:

  • Structured programming language
  • Mid-level programming language
  • Simple
  • Machine Independent or Portable
  • Rich Library
  • Memory Management
  • Fast Speed
  • Pointers
  • Recursion
  • Extensible
  • Object Oriented
  • Compiler based

In this tutorial, we will discuss all these features in brief:

1. Simple to understand

Availability of structured approach, rich set of library functions, data types and many other things makes C++ a very simple language to understand.

2. Machine Independent or portable

C programs are known to be unique as they can be performed or executed in various machines with a little or no modifications but it can’t be assumed as a platform-independent language.

3. Mid-level programming language

In order to do low level programming C++ is mostly used. System applications like kernel, driver etc are developed by the use of the C++ programming language. Having all these features and one additional feature that it also supports high level language C++ is called as the mid-level language.

4. Structured programming language

In order to make the program easy that is easy to understand and in maintenance, the programs can be broken in parts using the functions this is the working of a structured programming language and C++ is a structured programming language.

5. Rich Library

Numerous in-built functions are provided by C++ that are known to make the development process amazingly fast.

6. Memory management

C++ language generally supports the dynamic memory allocation feature that is used to free the allocated memory regardless of the time just by calling the free() function.

7. Speed performance

As compared to other programming language C++ language’s compilation and execution time is known be fast.

8. Pointers

By the features of pointers that is made available by the C++ language, the users can interact with the memory directly and it can be used for arrays, functions, memory, structures, etc.

9. Recursion

Code reusability is the most important feature of the C++ language as users can call the function within the function.

10. Extensible

C++ has the ability to adopt new features easily hence, it is known to be a extensible language.

11. Object Oriented

C++ is very different from the procedure-oriented programming language. It is an Object Oriented programming language and as a result of which maintenance of programs becomes easier.

12. Compiler Based

In C++ there is a need to compile the program before execution hence; C++ is known to be a compiler based programming language.


Popular Tutorials