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

Can we run c program in turbo c++?

801


What are the extraction and insertion operators in c++? Explain with examples.

887


What is difference between c++ 11 and c++ 14?

758


What are disadvantages of pointers?

790


What are the 2 main types of data structures?

799


When should you use global variables?

879


How the delete operator differs from the delete[]operator?

845


give me an example for testing a program showing the test path .show how the test is important and complex.

2648


Is there any difference between int [] a and int a [] in c++?

747


What is singleton pattern in c++?

711


What is the C-style character string?

804


What is microsoft c++ redistributable 2013?

777


Why do we use vector in c++?

780


Explain differences between alloc() and free()?

779


Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.

6129