Are C and C++ the same?

Asked by Last Modified  

Follow 6
Answer

Please enter your answer

No
2 Comments

Trainer

C and C++ is not the same.Few differences are: 1. C is a procedural language while C++ is a procedural as well as object oriented language. 2. As C is not object oriented, it has several limitations ie, it does not have features like encapsulation,data hiding,overloading,polymorphism, virtual functions...
read more
C and C++ is not the same.Few differences are: 1. C is a procedural language while C++ is a procedural as well as object oriented language. 2. As C is not object oriented, it has several limitations ie, it does not have features like encapsulation,data hiding,overloading,polymorphism, virtual functions etc. which are all present in C++ as it's object oriented. 3. C does not support namespace feature while C++ does. 4. I/O functions used in C are printf and scanf while in C++, it is cin and cout. 5. C++ can be told as superset of C. 6. C is a function-driven language while C++ is an object drive language. 7. Data is not secured in C while its secured in C++ due to the OOPS feature,data hiding. 8. C uses calloc(),malloc(),dealloc() for allocation and deallocation of memory while C++ uses new and delete for the same. read less
Comments

Math Tutor

C is structure oriented and C++ is partially object oriented. C++ has advanced futures of C. The decision making statement such as "if , if else , switch, break and continue" are same in both C and C++. The major difference is we can use classes in C++ but not in C.
Comments

Engineer

They are not same because c is procedural oriented and c++ is object oriented 2.c does not use concepts like data hiding and polymorphism and c++ uses it
Comments

BE Computer

NO c and C++ are not same. C has several limitation . CPP is Object oriented programming.
Comments

C & C++ both are different language even though the C++ is inherits from C Language. C Language is totally function based and C++ is Class based which consists member function and data members.C is a procedural language while C++ is a procedural as well as object oriented language.In C language TOP Down...
read more
C & C++ both are different language even though the C++ is inherits from C Language. C Language is totally function based and C++ is Class based which consists member function and data members.C is a procedural language while C++ is a procedural as well as object oriented language.In C language TOP Down approach is used and C++ is used Bottom up approach. read less
Comments

Tutor

The major difference between C and C++ is that C is a procedural programming language and does not support classes and objects, while C++ is a combination of both procedural and object oriented programming language; therefore C++ can be called a hybrid language.
Comments

no man c is procedure programming language and c++ is object oriented programming
Comments

Are you looking for an Expert Friendly Tutor?

Frankly C++ is the super-set of C Language. If one knows C++ indicates he has knowledge of C as well. However programming pattern of C is solely structured programming but C++ supports object oriented. Bjerne Stroustrup when he designed C++, initially he has named it as C with Classes. By this you can...
read more
Frankly C++ is the super-set of C Language. If one knows C++ indicates he has knowledge of C as well. However programming pattern of C is solely structured programming but C++ supports object oriented. Bjerne Stroustrup when he designed C++, initially he has named it as C with Classes. By this you can judge that C++ is just an extended version of C, that is why it is named as C and plus and plus (kind of incremented). NOTE that everything that you have in C can be used in C++ in the same way (with few modification). read less
Comments

View 7 more Answers

Related Questions

How do I program a game using C program?
Programming a game in C involves several key steps. First, you need to set up a development environment, typically using a compiler like GCC or a specialized game development framework like SDL (Simple...
Sumitha
0 0
6
when will you start for delivering lectures on C language
You can approach, I will teach in depth, make you profession c developer
Surbhi
How can I improve my C language skills so that if anyone asks me any questions about C, I can have the answer to those particular questions?
There are types of questions asked in this sector. 1.Related to Syntax and theoretical. For this you have to have a sound knowledge of the language. 2.Related to programming and output's. For this...
Furqankhan
0 0
5
What are the flaws of the C programming language?
The C programming language, while powerful and widely used, has some inherent flaws. One notable limitation is its lack of built-in support for dynamic memory management and bounds checking. This can lead...
Sounak
0 0
7
Why are operating systems written in C? Why aren't other languages used?
low-level access to hardware, performance, and historical reasons.
Chandramami
0 0
5

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

Ask a Question

Related Lessons

Some interview questions and answers for fresher level on Pointers
What is a void pointer? Void pointer is a special type of pointer which can reference or point to any data type. This is why it is also called as Generic Pointer. As a void pointer can point to...

Why C is a Language and not a database?
When I interviewed a candidate, I raised this question many times, but I have not got the answer correctly. To under why C is a language and not a database, it is good to understand why our communication...

Some interview questions for freshers on C language
Q1. What are the two forms of #include? There are two variants of #include. The one is #include and the other one is #include”file”. In general the first form that is #include is used to...

Programming Practice Technique
Any Programming Language required an Algorithm. Algorithm - It is the finite set of instructions in which each and every instruction has the meaning, instructions are not ambiguous and all the instructions...

C-Program Swapping Contents Of Variables Using Function [Call By Reference Method]
//Header Files #include#include // User defined functions swap with 2 pointer variables passed as an argument list void swap(int*i,int*j){ // Local variable temp int temp; // swapping contents using...

Recommended Articles

Lasya Infotech is a Hyderabad based IT training institute founded in 2016 by O Venkat. Believing in his innovation, passion and persistence and with a diverse blend of experience, he started his brainchild to deliver exemplary professional courses to aspiring candidates by honing their skills. Ever since the institute envisions...

Read full article >

Brilliant Academy is one of the reputed institutes for B.Tech tuition classes. This institute is specialised in delivering quality tuition classes for B.E, Engineering - all streams and Engineering diploma courses. Incorporated in 2012, Brillant Academy is a brainchild of Mr Jagadeesh. The main motto of the academy is to...

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 >

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