C++ FEATURES

Features of C++ are : –

-Simple

-Portable

-Mid-Level

-Structure

-Rich Library

-Object Oriented

-Recursion

-Pointers

-Compiler Based

-Speed

-Extensible

-Memory Management

      1. Simple                                                              

C++ is a simple language because it provides a structured approach  a rich set of library functions, data types, etc. 

      2. Portable

     portable means “Your source code compiles without maintainance across one or more of versions of the same compiler” and  different compilers and different platforms and changes in the language

or

C  programs can be executed in many machines with little bit or no change . but it is not platform – independent.

      3. Mid-Level

    Mid-level programing langauge through c++ ” We can do both system programming and build larg-scale user  application so It is called Mid – level programming “

      4. Structure

   C++  is a Structure Programming Language that means ” we can break the program into parts using functions.” so, it is easy to understand and modify

       5. Rich Library

   “C++  provides a lot of inbuilt function that makes the development fast.

     6. Object Oriented

   As the name suggests uses objects in programming. “Object-oriented programming aims to implement real-world entities like inheritance or hidingor polymorphism, etc in programming.” The main aim of OOP is to bind together the data and the functions that operate on them so that no other part of the code can access this data except that function.

  7. Recursion

Recursion means  ” in C++ which calls itself directly or indirectly until a suitable condition is met”. In this method, we repeatedly call the function within the same function, and it has a base case and a recursive condition

   8.-Pointers 

 In Pointer C++ provides the feature of pointer. We can directly interact with the memory by uring the pointer

  9. Compiler Based 

It is a translator which takes input i.e. High-Level Language and produces an output of low-level language i.e. machine or assembly language. A compiler is more intelligent than an assembler it checks all kinds of limits, ranges, errors, etc.

10. Speed

 The compilation and execution time of c++ langauge is fast.

11. Memory Management

It support the feature of dynamic memory Allocation . In C++, We can free the allocated memory at any time by calling the free function.