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 can I avoid the error messages?
When there is a syntax error in the program the compiler indicates it by giving error messages. By following proper syntax we can avoid error messages. Syntax is like grammar rules of english language.
Yusufali
What are the control statements in C language?
They are broadly classified into three types: decision-making, iteration, and jump statements. Decision-making statements, like if, else if, and switch, determine the flow of execution based on conditions....
Mukund
0 0
5
In Java programming, what are the differences between the functions of 'int' and 'int []' when working with an array?
INT type of function return type is int where as for int return type is int array.
Kalpana
0 0
5
Which computer language will be the most important one in the upcoming years?
JAVA and JAVA script. C language is the basic language, so it will remain same always.
Dheivanai

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

Ask a Question

Related Lessons

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...

C Program-Error Handling[Program Exit Status]
//Header files #include<stdio.h>#include<conio.h>#include<stdlib.h> //Main Function void main(){ int dividend=20; int divisor=5; int quotient; //Function for clearing screen clrscr();...

Is It Fine To Write “void main()” Or “main()” In C/C++?
The definition: void main() { /* ... */ } Is not and never has been C++, nor has it even been C. See the ISO C++ standard 3.6.1 or the ISO C standard 5.1.2.2.1. A conforming...

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...

INTRODUCTION TO PROGRAMMING LANGUAGES
Language is a medium for communication. If we want to perform anything with another person, we can know the human language as a human being. Similarly, if we want to perform anything with a computer, we...

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