difference between c and c++?
Answer Posted / sumanth
c is procedure oriented language and gives importance to
procedure that is functions rather than data.c is middle
level language.
c++ is object oriented language and gives importance to
object that is data
c++ is high level language
c++ havig extra benifits data can hide in the fuction
(encapsulation),polymorphism,templets,file
handeling,inharitance.
c is structured design,c++ is object oriented design
c is top-down approach,c++ is bottom-top approach
c++ is required acces specifiers,c is not required acces
specifiers
c++ is client server model
In c++,there is a new concept of "INLINE FUNCTIONS",
whereas in c, there are macros.
C++ is a object oriented language but C is not OOPS.
| Is This Answer Correct ? | 23 Yes | 1 No |
Post New Answer View All Answers
What is the protected keyword used for?
What is iterator in c++?
what are the characteristics of Class Members in C++?
Can malloc be used in c++?
Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?
what are function pointers?
Why do we use classes in programming?
What is the need of a destructor? Explain with the help of an example.
Explain some examples of operator overloading?
Can you please explain the difference between overloading and overriding?
How is computer programming useful in real life?
What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?
Write about c++ storage classes?
How do you print a string on the printer?
Explain the static member function.