Loading...
C++

Features of C++

C++ is a Object Oriented Programming Language. The features of C++ are given below.

  1. Simple: 
    C++is a simple language in the sense that it provides structured approach, rich set of library functions, data types etc.
  2. Machine Independent or Portable:
    Unlike assembly language c program can be executed in many machines with little bit or no change. But it is not platform independent.
  3. Mid-Level Programming Language:
    C++ is also used to do low level programming. It is used to develop system applications such as kernel, driver etc. It also supports the features of high level language. That is why it is known as mid-level language.
  4. Structured Programming Language:
    It is a structured programming language i.e., we can break the program into parts using functions. So that it is easy to understand and modify.
  5. Memory Management:
    It supports the features of dynamic memory allocation. In C++ language, we can free the allocated memory at any time by calling the free() function.
  6. Pointer:
    It also provides the features of pointers. We can directly interact with the memory by using the pointers. Pointers can be used for memory, structures, functions, array etc.
  7. Rich Library:
    It provides a lot of inbuilt functions that makes the development fast.
  8. Speed:
    The compilation and execution time of C++ language is fast.
  9. Extensible:
    C++ is extensible because it can easily adopt new features.
  10. Recursion:
    In C++ the function can be called within the function.  It provides code reusability for every function.
  11. Object Oriented:
    C++ is a Object Oriented Programming Language. OOPs makes development and maintenance easier where as in Procedure Oriented Programming Language it is not easy to manage if code grows as project size grows.
  12. Compiler Based:
    C++ is a compiler based programming language, it means without compilation no C++ program can be executed. First we need to compile our program using compiler and then we can execute our program.
Leave a Reply

Your email address will not be published. Required fields are marked *