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
what is the drawback of classical methods in oops?
What do you mean by variable?
How do you explain polymorphism?
Why do we use inheritance?
What is object in oops?
Whats oop mean?
Can we create object of abstract class?
What is overriding in oop?
Why interface is used?
Where is pseudocode used?
Can a destructor be called directly?
What is the difference between a constructor and a destructor?
What is the significance of classes in oop?
Advantage and disadvantage of routing in telecom sector
What is abstract class in oops?