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 / namrata gupta

The main difference between c and c++ is that " C is a
structured programming language while C++ is an object
programming language and also we have templates in C++ that
is not the case in C

Is This Answer Correct ?    0 Yes 0 No

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

Answer / ajit kumar singh

The basis difference that c is structural Language and C++
is Object Oriented language addition with that C++ is super
set of c.
So C++ having all functionality that c have with addition
with Object Oriented functionality i.e Classes ,Operator
overloading etc.

So all other difference born from to fulfill these requirements.
So some c functionality is modify in C++ and some new added.

for example.
Modified :
1.In use of enum
2.In use of function
3.In size of Array
4. Type comaptibility
5.In use of Void pointer
6.Scope of Variable
7.Place of variable declartion
etc... You can find many more thing
Added new
1. Class
2. Reference variable
3.Dynamic initialization of variable
4. some more operator
5. new data type
6. new type of function (virtual ,friend,inline etc)
there are lot of minor difference and new...just check with
some good book....
but please don't pur misleading answer..

1.Class

Is This Answer Correct ?    0 Yes 0 No

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

Answer / megha sisode

C++ uses NAMESPACE which avoid name collisions. For
instance, two students enrolled in the same university
cannot have the same roll number while two students in
different universities might have the same roll number. The
universities are two different namespace & hence contain
the same roll number(identifier) but the same university
(one namespace) cannot have two students with the same roll
number(identifier)

Is This Answer Correct ?    0 Yes 0 No

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

Answer / t.saranya

c is structured programming language but c++ is object oriented programming language.
data is not secured in but c++ is data's are secured.
c does not support the c++program,but c++ support the c program.
c is low level language,but c++ is high level language.
c++ support operator overloading,c does not support.
c is top down,c++ is bottom up,

Is This Answer Correct ?    0 Yes 0 No

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

Answer / vishu

c is procedure oriented programming while c++ is object oriented programming,in c we use top to bottom approach and in c++ we use bottom to up approach

Is This Answer Correct ?    0 Yes 0 No

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

Answer / parvati

In "C" writting in class concept is not provided where as in
"C++" all the data members and member functions of similar
or dissimilar datatypes will be written.

Is This Answer Correct ?    0 Yes 0 No

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

Answer / c.rani

c is not object oriented
c++ is object oriented.
c is collections of functions
c++ is a collection of classes.

Is This Answer Correct ?    0 Yes 0 No

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

Answer / adu sharma

There is no data hiding in c
but in c++ there is data hiding

Is This Answer Correct ?    0 Yes 0 No

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

Answer / riddhi

c is d structed oriented lang and c++ is an object oriented
lang .
both have different i/o functions..
c doesn't hv classes and objects at all..
In c++ there is inheritance ....

Is This Answer Correct ?    0 Yes 0 No

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

Answer / vivek sagar jaiswal

*c is the procedure oriented programing.
c++ is the object oriented programing.

*c is the low level language.
c++ is the high level language.

*c is top-down approach
c++ is bottom-top approach.

*c is structured design
c++ is object oriented design .

*c does not deal with real world problems properly
eg. Maintaining a database.
while c++ deals with real world problems.

*In c we declare variable at the start of block...
In c++ we can declare it any where.....

*c the data can pass through the fuction to fuction.
Data is hidden and can’t be accessed by the external function.

*We can’t work with Class in C .
We can work with Class in C++ .
*c is not required acces
specifiers .
C++ is required acces
Specifiers .

*c has not inheritance concept .
c++ has inheritance concept .

*C can't support
of all function of C++.
C++ can support of all function of C

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

How do you achieve runtime polymorphism?

0 Answers  


why destructor is not over loaded?

5 Answers  


assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).

0 Answers  


why to use operator overloading

3 Answers  


Why we are use # in begning of programme of c++.

2 Answers   Syntel,


why to use template classes in c++?

1 Answers  


why the argument is passed by reference to a copy constructor?example?

2 Answers  


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

0 Answers  


for example A,B,C,D are class all the 4 class contain one method who() but the method who() implementaion is differnet among each class. the relation among the 4 class are A is base class and is inherited by B and C.and from this two B and C where D is inherited. the question is i want to display the output who() method in all the classes(A,B,C,D)the output of who() method is diferrent amond all the class(A,B,C,D) ------A------ virtuval who(print a) override | | who(print b) B C override who(print c) | | -------D------ override who(print d)

2 Answers  


There are 2 classes defined as below public class A { class B b; } public class B { class A a; } compiler gives error. How to fix it?

3 Answers   Microsoft,


//what is wrong with the programme?? #include<iostream.h> template <class first> class dd { first i; public: void set(); void print(); }; void dd< first>:: set() { cin>>i; } void dd< first>::print() { cout<<"\n"<<i; } void main() { dd <char>g; g.set(); g.print(); }

1 Answers  


what is oppes

2 Answers  


Categories