Computer Science, asked by kanannag2776, 11 months ago

introduction to C++​

Answers

Answered by Anonymous
0

Answer:

C++ is a cross-platform language that can be used to create high-performance applications. C++ was developed by Bjarne Stroustrup at Bell labs in 1979, as an extension to the C language. C++ gives programmers a high level of control over system resources and memory.

Answered by muskaan1411
1

Answer:

Introduction to C++

C++, as we all know is an extension to C language and was developed by Bjarne stroustrup at bell labs. C++ is an intermediate level language, as it comprises a confirmation of both high level and low level language features. C++ is a statically typed, free form, multiparadigm, compiled general-purpose language.

C++ is an Object Oriented Programming language but is not purely Object Oriented. Its features like Friend and Virtual, violate some of the very important OOPS features, rendering this language unworthy of being called completely Object Oriented. Its a middle level language.

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 form this there are many other features of C++ which gives this language an upper hand on C laguage.

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

There is Stronger Type Checking in C++.

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

C++ supports and allows user defined operators (i.e Operator Overloading) and function overloading is also supported in it.

Exception Handling is there in C++.

The Concept of Virtual functions and also Constructors and Destructors for Objects.

Inline Functions in C++ instead of Macros in C language. Inline functions make complete function body act like Macro, safely.

Similar questions