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


Please Help Members By Posting Answers For Below Questions

Why do we use encapsulation in oops?

716


what are the different types of qualifier in java?

2001


What is object in oop with example?

924


What does oop mean in snapchat?

897


How is polymorphism achieved?

759


What are oops functions?

765


What is a function in oop?

807


What is an advantage of polymorphism?

794


What is the real time example of inheritance?

828


What is property in oops?

768


Why do we use class in oops?

729


Where You Can Use Interface in your Project

1588


What is the use of oops?

772


What is object in oops?

812


What is abstraction in oops with example?

972