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

Why are operating systems written in C? Why aren't other languages used?
Operating systems are often written in C due to a combination of historical reasons, performance considerations, and system-level functionality provided by the language. C is a low-level programming language...
Deepa
0 0
7
How do I learn C programming easily?
focus on hands-on practice by writing, running, and debugging code.
Altaf
0 0
5
Is it possible to write big safe programs in C++?
yes. C++ is generally used to write system software. For example windows operating system are writeen in C++. Most of the operating system, device driver and antivirus programs are written by using C++.
Sapna
0 0
6
hi sir c progarm codeing how to write sir........
take any C book then u can learn more...
Suryateja
How can I try to remember the coding in C language?
One shouldn't try to remember the coding. The right approach is to understand the logical solution to the problem.
Chinmayee
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...

C Program-The Odd Loop Demo
/* WAP to print square value of the number entered by user using odd loop*/ //Header Files #include<stdio.h>#include<conio.h> //Main Function void main(){ char another='y'; int num,sq; //...

10 Tips to improve your learning
1. Have a quick revision of topics that you have read in past three days before you start studying a new topic. 2. Make your own notes containing the summary of the topic. 3. Allot proper timing for...

Pointers Concept
Every variable has a memory location and every memory location has its address defined which can be accessed using ampersand (&) operator, which denotes an address in memory. Consider the following...

C Program-Temperature [conversion from farenheit to degree celsius]
//WAP to convert temperture from farenheit into degree celsius //Header files#include<stdio.h>#include<conio.h> //Main functrion void main(){ //Variable declaration of type float float...

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