what is the main difference between c and c++?
Answer Posted / vaijayanthimala
c is a procedure oriented language and give importants to
procedure that is fuction rather than data.c is a middle
level language.
c++ is a object oriented language and give importants to
object that is data.c++ is high level language.
c does not provide class / object concept
c++ provides encapsulation ,data abstraction,polymorphism..
In c passing a value to a function is "call by value "
where c++ its " call by reference".
c is top to bottom programming approch.
c++ is bottom to top programmong approach.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why do we use polymorphism?
What is meant by multiple inheritance?
What is destructor example?
What does no cap mean?
What is difference between multiple inheritance and multilevel inheritance?
What is destructor in oop?
What is polymorphism give a real life example?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
Why do we use class?
Can a destructor be called directly?
What does sksksk mean in text slang?
What is the real time example of inheritance?
What is for loop and its syntax?
to find out the minimum of two integer number of two different classes using friend function
#include