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 / anil kumar jaiswal

the main difference between c and c++ is that c is
structured programming language. while c++ is an object
proramming 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 / ajay khare

c++ is advance of c and more secure

Is This Answer Correct ?    0 Yes 0 No

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

Answer / yash gupta

C is a general progra ming language and easy to learn,
while C++ is a extension of C lanuage

Is This Answer Correct ?    0 Yes 0 No

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

Answer / nayan agrawal

c cannot face real world problem ,some drawback like a
global data is shared while c++ is a approach to make new
software

Is This Answer Correct ?    0 Yes 0 No

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

Answer / sunil kumar

'C' is most popular language because we are also use in
todays word as well as this is old language,but this is the
base of another language.Here we can say c has an object
like union and structure but we know c is not pure object
oriented language while c++ is pure object-oriented
language,but we never forget c++ is the base of c language.

Is This Answer Correct ?    0 Yes 0 No

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

Answer / dharmendra singh

c is a machine level lanuage and c is a progrramming
lanuage but c++ is a object oriented language.

Is This Answer Correct ?    0 Yes 0 No

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

Answer / dharmesh singh

c++ is a super set of c. c++ has data security but c hasn't any data security. also c++ has overloading, inline but c hasn't

Is This Answer Correct ?    0 Yes 0 No

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

Answer / priyadharshini

c is top down approach but c++ is either top down or bottom
up approach....

Is This Answer Correct ?    1 Yes 1 No

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

Answer / arun benchamin

1.In case of C, importance is given to the steps or procedure of the program while C++ focuses on the data rather than the process.
Also, it is easier to implement/edit the code in case of C++ for the same reason.
2. In case of C, the data is not secured while the data is secured(hidden) in C++

This difference is due to specific OOP features like Data Hiding which are not present in C.

3. C is a low-level language while C++ is a middle-level language

C is regarded as a low-level language(difficult interpretation & less user friendly) while C++ has features of both low-level(concentration on whats going on in the machine hardware) & high-level languages(concentration on the program itself) & hence is regarded as a middle-level language.

4. C uses the top-down approach while C++ uses the bottom-up approach

In case of C, the program is formulated step by step, each step is processed into detail while in C++, the base elements are first formulated which then are linked together to give rise to larger systems.

5. C is function-driven while C++ is object-driven

Functions are the building blocks of a C program while objects are building blocks of a C++ program.

6. C++ supports function overloading while C does not

Overloading means two functions having the same name in the same program. This can be done only in C++ with the help of Polymorphism(an OOP feature)

7. We can use functions inside structures in C++ but not in C.

In case of C++, functions can be used inside a structure while structures cannot contain functions in C.


8. The NAMESPACE feature in C++ is absent in case of C

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)

9. The standard input & output functions differ in the two languages

C uses scanf & printf while C++ uses cin>> & cout<< as their respective input & output functions

10. C++ allows the use of reference variables while C does not

Reference variables allow two variable names to point to the same memory location. We cannot use these variables in C programming.

Is This Answer Correct ?    0 Yes 0 No

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

Answer / ankush goyal

in c++ ,for solabe the problams in progam, we can devide
the progarm into samal parts. its easy way to found the
problams in program.but in c it can not do.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

What is the different between Applet and Application?

2 Answers  


What is an orthogonal base class?

2 Answers  


What is the difference between pass by value,pass by pointer,pass by reference in the catch block in the exception handling in c++

1 Answers   TCS,


Can bst contain duplicates?

0 Answers  


what is namespace? what are the uses of namespace?

1 Answers  


what is the realstic modeling?

1 Answers  


What is the difference between XML Web Services using ASMX and .NET Remoting using SOAP?

1 Answers  


what is the basic concept of inheritance?

9 Answers  


What are generic functions and generic classes?

5 Answers  


Which is the best institute in hyderabad for C/C++ and it also has fast track course structure.

13 Answers   Wipro,


can main method be overloaded...??? How..????

2 Answers   Satyam,


What does <> mean pseudocode?

0 Answers  


Categories