+ 6

How c++ is different from C??

How C++ is different than C? Anyone tell me

24th Jun 2019, 10:16 AM
SudarshanPoojary
SudarshanPoojary - avatar
6 Respostas
+ 17
C++ is a object oriented programming language where as C is a general purpose programming language. C doesn't have some features which are there in C++ they are [polymorphism] :- ability of an object to take many forms. examples : operatoroverloading, function overloading etc. [Encapsulation] :- it deals with security of data members of classes which are similar to structures in C. [Inheritance] :- it consists of a base class which contributes for a derived class. [Friend and virtual functions], [exception handling]. At last C++ is nothing but incrementation of C. C=C+1
24th Jun 2019, 3:21 PM
Manoj
Manoj - avatar
+ 5
The first big difference is that C is not object oriented like C ++
24th Jun 2019, 10:19 AM
Ramphy Aquino Nova
Ramphy Aquino Nova - avatar
+ 1
C++ is object oriented while c is not
26th Jun 2019, 2:55 AM
Candice Dick
Candice Dick - avatar