Question:
what are the differences between c and c++.what are the advantages the are only in c++ but not in c
Answer:
C++ is the super set of C language, where all the functionalities of C is supported with additional methodologies to eliminate the pitfalls of C. C++ is a new way of developing code which will restrict data flow only through objects. Code re-usability and data abstraction are the main advantages of C++. Source: CoolInterview.com
Answered by: Sivakumar Selvam | Date: 5/17/2008
| Contact Sivakumar Selvam
c is the Procedure Oriented language where as the c++ is the Object oriented language
c++ has the facility of the datahiding,class,object,Inheritance,Polymorphism,Encapsulation etc..
Regards, Nicku Source: CoolInterview.com
Answered by: nicku | Date: 8/10/2010
| Contact nicku
Advantages of only c++ are as under
class Object Inheritance DataHiding Inheritance Polymorphism Abstract class Encapsulation etc
Regards, Nicku
Source: CoolInterview.com
Answered by: nicku | Date: 8/16/2010
| Contact nicku
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|