Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the main difference between c and c++?

Answers were Sorted based on User's Feedback



what is the main difference between c and c++?..

Answer / anand

c++ is depand on c language

Is This Answer Correct ?    27 Yes 11 No

what is the main difference between c and c++?..

Answer / p govind rao

1) C is a structural Language, but C++ is a object oriented
language.
2)C employs top down approach, but c++ employees bottom up
approach.
3) c doesn't support operator overloading but c++ support
operator overloading.
4) In C memory allocation is done with malloc statement
whereas in C++ it is done through new keyword.
5) Also memory is deal located in C using free statement
while in C++ deal location takes place through delete.
6) c is does not provide default argument but c++ is
provide default argument.
7) c is cant support the inheritance and polymorphism etc
but c++ support the inheritance and polymorphism etc.
8) c is low level language while c++ is sn high level
language.
9)C can not support all the feature of the C++. while c++
support all the features of C.
10. C variables are DECLARED in declaration section.C++
variables are DECLARED any where in the program.
11) C does NOT have NAMESPACE for avoid name collisions.
c++ has NAMESPACE feature.

Is This Answer Correct ?    15 Yes 1 No

what is the main difference between c and c++?..

Answer / chirag jobanputra

IN C,GLOBAL DECLARATION ISN'T POSSIBLE ANYWHERE BUT IN
C++,VARIABLES ARE DECLARED GLOBALLY.

Is This Answer Correct ?    21 Yes 9 No

what is the main difference between c and c++?..

Answer / sureshkumar koppineedi

C is a procedural oriented language .
c++ is a object oriented language.
OOps concepts are 1)encapsulation:-Taking data and methods
as an unit is called encapsulation.
2)Abstraction:-Hiding unnecessary data from the user is called
abstraction
3)Inheritence:-producing new classes from the existing classes.
4)Polymorphism:-Ability to exist in more than one form.

Is This Answer Correct ?    18 Yes 6 No

what is the main difference between c and c++?..

Answer / sandhya

c is not aobject orientedlanguage
c++ is object oriented language
c is a lowlevel language
c++ is a high level language

Is This Answer Correct ?    14 Yes 2 No

what is the main difference between c and c++?..

Answer / sindhu,swetha,charitha

in c we use scanf function as standard input
function,while
in c++ we use streame cin>> for input.like this for output
in c we use printf function,while in c++ we use cout<< as a
output function.

Is This Answer Correct ?    12 Yes 0 No

what is the main difference between c and c++?..

Answer / shailesh bahuguna(kec)

basically c does not support the object oriented features
that means we cannot relate the real world entities together
which can be expressed through C++ which is the extention of
c with OOPs concepts
there are many syntactic differences as well in c and c++.
C++ can be viewed as the revolution in the field of object
oriented programming paridigm.

Is This Answer Correct ?    14 Yes 3 No

what is the main difference between c and c++?..

Answer / ashish kumar

string variable take four bytes in c++ .whereas in c string
variable takes 3 bytes
c++ use bottom up approach to solve a problem.and c uses top
down approach to solve the problem.
c breaks the big problem into sub problems by using
procedures and function and then solve that.c++ combine the
small problems and then make it to be a solution.

Is This Answer Correct ?    17 Yes 7 No

what is the main difference between c and c++?..

Answer / ruchi chopra

in c++ the user define their own datadype i.e user-defined
datatype but in c there is by default datatypes.

Is This Answer Correct ?    18 Yes 9 No

what is the main difference between c and c++?..

Answer / bhoomi virani

c lang is procedure oriented programming in which we have
cann't have more flexibility because it follow sequence of
thing. where as, c++ is extended version of c and much use
now a day.

Is This Answer Correct ?    14 Yes 5 No

Post New Answer

More OOPS Interview Questions

What is the purpose of polymorphism?

0 Answers  


what is new modifier in C#

8 Answers   HCL,


What is purpose of inheritance?

0 Answers  


Can an interface inherit a class?

0 Answers  


i ahve v low % in 12th n BSC which is aroun 50 coz science was imposed on me......nw m doin MCA n my aggregate in above 74%,what shud i say if asked about low previous percentage??????

4 Answers  


What are the advantages of inheritance?

26 Answers   IBS, TCS,


What is the Advantage of Interface over the Inheritance in OOPS?

4 Answers  


what is polymorphism?

4 Answers  


What is class and object with example?

0 Answers  


What is cohesion in oop?

0 Answers  


oops concept is used for?

3 Answers   Synergy,


program for insertion ,deletion,sorting in double link list

0 Answers  


Categories