Features Of C++

1) Simple:
C++ is a simple language because it provides a structured approach (to break the problem into parts), a rich set of library functions, data types, etc.
In C++, complex data types called Abstract Data Types (ADT) can be created using classes.
3) Portable:
C++ is a portable language and programs made in it can be run on different machines.
4) Mid-level / Intermediate programming language
C++ includes both low-level programming and high-level language so it is known as a mid-level and intermediate programming language. It is used to develop system applications such as kernel, driver, etc.
5) Structured programming language
C++ is a structured programming language. In this we can divide the program into several parts using functions.
6) Rich Library
C++ provides a lot of inbuilt functions that make the development fast. Following are the libraries used in C++ programming are:
<iostream>
<cmath>
<cstdlib>
<fstream>
7) Memory Management
C++ provides very efficient management techniques. The various memory management operators help save the memory and improve the program's efficiency. These operators allocate and deallocate memory at run time. Some common memory management operators available C++ are new, delete etc.
8) Quicker Compilation
C++ programs tend to be compact and run quickly. Hence the compilation and execution time of the C++ language is fast.
9) Pointer
C++ provides the feature of pointers. We can use pointers for memory, structures, functions, array, etc. We can directly interact with the memory by using the pointers.
10) Recursion
In C++, we can call the function within the function. It provides code reusability for every function.
0 comments:
Post a Comment