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
How does java differ from c and c++?
Why struct is used in c++?
Why is c++ a mid-level programming language?
How do you compile the source code with your compiler?
When should we use multiple inheritance?
What is a multimap c++?
Is eclipse good for c++?
Do you know about C++ 11 standard?
What c++ library is string in?
How do you master coding?
What type of question are asked in GE code writing test based on c++ data structures and pointers?
Difference between inline functions and macros?
What is the best c++ book for beginners?
How do pointers work?
What are friend classes?