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
When there is a global variable and local variable with the same name, how will you access the global variable?
What is stl containers in c++?
What are the rules for naming an identifier?
What are the 3 levels of programming languages?
What is the difference between an array and a list?
Explain how to initialize a const data member.
What is #include cmath?
What is the difference between an enumeration and a set of pre-processor # defines?
What is the difference between equal to (==) and assignment operator (=)?
You want to link a c++ program to c functions. How would you do it?
Do you know the use of vtable?
Is swift faster than c++?
What programming language should I learn first?
What does scope resolution operator do?
Differentiate between late binding and early binding.