What is C++ ?

What is C++ ?

C++

What is C++?

what is C++, as we all know is an extension to C language and was developed by Bjarne Stroustrup at bell labs

C++ is an open source, middle label, preprocessed, compiled, assembled, linked and loaded, procedure-oriented and object-oriented, statically typed, general-purpose programming language.

Open source:-

C++ is developed by an ISO standard committee. The source code of C++ is not bounded by ISO standard, It is available for any user. So C++ is open source.

Middle Level:-

C++ is middle-level language because it is used for both high-level and low-level language.

Preprocessed:-

C++ is a preprocessor. The preprocessor performs a transformation of the source program.

Compiled:-

C++ is compiled, compiled code can be executed directly by the computer’s CPU. The compiler generates the machine code. Line-by-line execution is present inside the compiler.

Procedure Oriented:-

In procedure Oriented programming language every operation must be present in a function.

Object Oriented:-

Function within the class is known as object-oriented language.

Statically typed:-

In statically typed programming language before using any variable it is compulsory to declare the type of variable.

General Purpose Programming Language:-

The programming language which is used for the different purpose is called general purpose programming language.

What are the Benefits of C++ over C Language?

The major difference being OOPS concept, C++ is an object-oriented language whereas C language is a procedural language. Apart from this, there are many other features of C++ which give this language an upper hand on C language.

Following features of C++ makes it a stronger language than C,

There is a Stronger Type Checking in C++.

All the OOPS features in C++ like Abstraction, Encapsulation, Inheritance etc make it more worthy and useful for programmers.

C++ supports class.
C++ support data member and member function?

C++ supports operator overloading.

C++ support function overloading.

C++ supports exception handling.

Variables can be declared anywhere in the program in C++ but must be declared before they are used.

 

basicittopic

basicittopic

A Computer Science Study for IT students and people of IT community