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

Is C language is used for hack or not?

Yes its is used for hacking purpose.
Jangam
any one can teach me c++
We all are in teaching profession. Hundreds are registered for teaching C++ in Urban Pro. You can opt any one including me.
Bhuvanesh
How are portions of a program disabled in demo versions?
By making them comments. This can be achieved by using // sign before the line or by surrounding multiple lines in within /*...lines of comment...*/
Akhilesh
0 0
5
Can an array be an lvalue?
When you say array, do you mean array name i.e. address, or array element. Yes, array element can be lvalue
Vinodha
What is the use of getch(); in the end of c program
getch() is used to hold the console(output) window on the screen after the whole program run is completed till the user enters a key from keyboard. However, the character entered is not displayed on screen....
Priyanka

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

Ask a Question

Related Lessons

Lets know about far, near and huge pointers for fresher interview purpose
All of these three candidates relate to 16 bit architecture where segmented memory architecture was there. They are not at all relevant for present days 32 or 64 bit architecture where the way of memory...

An Interesting discussion about malloc( ) and calloc( )
What are malloc( ) and calloc( )? Simply putting they are the predefined functions in C language. Malloc( ) and calloc( ) are two such functions which are used for more or less identical purpose and...


Program to swap the value of two variables without using third variable(simplest way)...
int main() { int a=10,b=20; printf("values of a before swap ="%d,a); printf("values of b before swap ="%d,b); a=a+b; b=a-b; a=a-b; printf("******************"); printf("values of a after swap...

Memory Layout of C Programs
A typical memory representation of C program consists of following sections. Text Segment: A text segment, also known as a code segment or simply as text, is one of the sections of a program in an object...

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