+ 6
How c++ is different from C??
How C++ is different than C? Anyone tell me
6 Respuestas
+ 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
+ 5
The first big difference is that C is not object oriented like C ++
+ 1
C++ is object oriented while c is not