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


Please Help Members By Posting Answers For Below Questions

How does java differ from c and c++?

621


Why struct is used in c++?

705


Why is c++ a mid-level programming language?

694


How do you compile the source code with your compiler?

709


When should we use multiple inheritance?

700






What is a multimap c++?

775


Is eclipse good for c++?

623


Do you know about C++ 11 standard?

733


What c++ library is string in?

692


How do you master coding?

674


What type of question are asked in GE code writing test based on c++ data structures and pointers?

3597


Difference between inline functions and macros?

673


What is the best c++ book for beginners?

685


How do pointers work?

808


What are friend classes?

715