what is the main difference between c and c++?

Answer Posted / madhavi nallapu

c is procedure oriented language and c++ is a object
oriented language.. and in c we can acheive the reusability
concept by implementing inheritance concept.. and all the
features of oops are supported by c++ where as not by c...
c++ is an advanced version of c because it supports all the
features of c and also some new features....

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

1837


Can we create object of interface?

610


to find out the minimum of two integer number of two different classes using friend function

1645


What are the types of abstraction?

560


How do you answer polymorphism?

578






Can we define a class within the interface?

555


What is the difference between encapsulation and polymorphism?

598


Which method cannot be overridden?

584


How do you achieve polymorphism?

618


What is multilevel inheritance in oop?

557


What is encapsulation in oops?

541


what are the realtime excercises in C++?

2337


Can you explain polymorphism?

583


What do you mean by overloading?

585


write knight tour problem which is present in datastructure

2168