UrbanPro

Learn C++ Language from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

How C++ is different from C language?

Asked by Last Modified  

Follow 0
Answer

Please enter your answer

Trainer

C++ was invented to manage complexity that C could not handle. For example, a common problem with C was that you could "run out of names for variables" (not to be taken literally of course) because there was no encapsulation, namespaces etc. Also, C does not have exceptions, therefore error handling...
read more
C++ was invented to manage complexity that C could not handle. For example, a common problem with C was that you could "run out of names for variables" (not to be taken literally of course) because there was no encapsulation, namespaces etc. Also, C does not have exceptions, therefore error handling is very error prone, since it depends on the library user to always check return values of funcs, whereas with exceptions, the library developer simply throws an exception that guarantees program flow will be halted. C++ helps by having the constructor init objects which is automatically called by compiler. Unlike C structs which need to be initialized by the programmer (hence another error-prone area). Lastly, there is a lot of other advantages touted by OOP , such as object reuse as well the generic programming based concepts, such as templates and generics which allow you to reuse source code,etc. read less
Comments

Java Trainer

++ is an increment operator c++ is nothing but adding a new feature to the existing c language. Here, new feature is nothing but object oriented principles.
Comments

Professional Tutor with 15 years of experience.

C++ is everything of C and ++. That means incremented part of C. In C++ we can do every thing that we work with C language, whether it POPs, or structres or any thing. But C++ is designed to support OOPs Concept. Where we can work with Object Oriented way. C++ also known as semi OOPs Language. It...
read more
C++ is everything of C and ++. That means incremented part of C. In C++ we can do every thing that we work with C language, whether it POPs, or structres or any thing. But C++ is designed to support OOPs Concept. Where we can work with Object Oriented way. C++ also known as semi OOPs Language. It is mixture of OOPs part and POPs part, JAVA is pure OOPs language,. read less
Comments

Trainer

C++ was invented to manage complexity that C could not handle. For example, a common problem with C was that you could "run out of names for variables" (not to be taken literally of course) because there was no encapsulation, namespaces etc. Also, C does not have exceptions, therefore error handling...
read more
C++ was invented to manage complexity that C could not handle. For example, a common problem with C was that you could "run out of names for variables" (not to be taken literally of course) because there was no encapsulation, namespaces etc. Also, C does not have exceptions, therefore error handling is very error prone, since it depends on the library user to always check return values of funcs, whereas with exceptions, the library developer simply throws an exception that guarantees program flow will be halted. C++ helps by having the constructor init objects which is automatically called by compiler. Unlike C structs which need to be initialized by the programmer (hence another error-prone area). Lastly, there is a lot of other advantages touted by OOP , such as object reuse as well the generic programming based concepts, such as templates and generics which allow you to reuse source code,etc. And a lot of other things that would take too much of my time to list here. read less
Comments

Software Developer, Expertise in Java/J2ee Technology.

C++ is a super set of C. C++ Is object oriented language, while C is procedure oriented language.
Comments

C++, as the name suggests, is a superset of C. As a matter of fact, C++ can run most of C code while C cannot run C++ code. 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)...
read more
C++, as the name suggests, is a superset of C. As a matter of fact, C++ can run most of C code while C cannot run C++ code. 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. read less
Comments

Technology Trainer

c++ is object oriented programming language while c is a procedural Language so all the concept of OOPS are new in C++
Comments

C++ is derived from C Language. It is a Superset of C. Earlier C++ was known as C with classes. In C++, the major change was the addition of classes and a mechanism for inheriting class objects into other classes. Most C Programs can be compiled in C++ compiler. C++ expressions are the same...
read more
C++ is derived from C Language. It is a Superset of C. Earlier C++ was known as C with classes. In C++, the major change was the addition of classes and a mechanism for inheriting class objects into other classes. Most C Programs can be compiled in C++ compiler. C++ expressions are the same as C expressions. All C operators are valid in C++. read less
Comments

c,c++,vb,vb.net,php.joomal,basic,all computer subjects

1. C follows the procedural programming paradigm while C++ is a multi-paradigm language(procedural as well as object oriented) 2. In case of C, the data is not secured while the data is secured(hidden) in C+3. C is a low-level language while C++ is a middle-level language (Relatively, Please see the...
read more
1. C follows the procedural programming paradigm while C++ is a multi-paradigm language(procedural as well as object oriented) 2. In case of C, the data is not secured while the data is secured(hidden) in C+3. C is a low-level language while C++ is a middle-level language (Relatively, Please see the discussion at the end of the post) 4. C uses the top-down approach while C++ uses the bottom-up approach 5. C is function-driven while C++ is object-driven 6. C++ supports function overloading while C does not 7. We can use functions inside structures in C++ but not in C. 8. The NAMESPACE feature in C++ is absent in case of C 9. The standard input & output functions differ in the two languages 10. C++ allows the use of reference variables while C does not 11. C++ supports Exception Handling while C does not. read less
Comments

Trainer

yes the bigest difference is that - c is procedural language but c++ is object based language. The concept of object introduced in c++.
Comments

View 91 more Answers

Related Questions

Are C Programmers currently in demand?
Ofcourse, C is alwasy in demand. In the beginning a lot of the big project developed in C language. Now a days, there are a lot of language in market and speciallity is growing in IT field. For a big organization...
Harsha
What is iostream.h?
It is a header file, which is needed to be included in C++ program to perform input output operations.
Monisha
What is an object?
An object is an instance of a class. It is an entity created as per the specifications and behaviour coded in the class. Say you have a class Wallet that defines a Wallet (Purse) . And you have specified...
Damanpreet
1 0
5
Which language is best, C, C++, Python or Java?
If you want to learn any languages C#, Java, ect. then must to learn C, C++ language as these are base or language to be strong in language skills. C++ is improved version of C language. C#, Java, J# and etc. which are improved version of C++.
Sribaghya
0 0
6
what is copy constructor?
The copy constructor is a constructor which creates an object by initializing it with an object of the same class, which has been created previously. The copy constructor is used to: Initialize one object...
Hiteshwar

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Templates
Templates Advantages of templates: Code reuse Allows container classes (e.g. lists, arrays, etc.) to be simply defined without loss of static type checking or run-time efficiency. Allows definition...

Difference Of Inheritance In C++ And Java
In Java , multiple inheritance is not applicable directly but we can implement the concept by using the interfaces. In c++ and Java, the common types of inheritances are: Single Multi level Hybrid Hierarchical

Definite book guides for C++
This post attempts to collect the few pearls among the dozens of bad C++ books. Unlike many other programming languages, which are often picked up on the go from tutorials found on the internet, only...

Set 0 To Kth Bit In A Variable
The following code snippet Set 0 to Kth Bit in an variable #include int UnsetBitValue(int n, int k);int main(){ printf("%d\n\n",UnsetBitValue(255,6)); return 0;}// Set kth bit to zeroint UnsetBitValue(int...

C++ Overview
Introduction: C++ is the first object oriented programming language used universally as an advanced version of C language. Many features such as Inheritance, Class & Object, Polymorphism(Function...
N

Namrata Y.

0 0
0

Recommended Articles

Introduction C++ is an excellent programming language and many of the applications are written in C++ language. It has generic, object-oriented & imperative programming features, and also provides facilities for low-level memory manipulation. Successor of C language, it is an OOP (object oriented programming) language...

Read full article >

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Applications engineering is a hot trend in the current IT market.  An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Looking for C++ Language Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for C++ Language Classes?

The best tutors for C++ Language Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn C++ Language with the Best Tutors

The best Tutors for C++ Language Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more