difference between c and c++?

Answer Posted / arpit gupta

1.C follows procedural programming language while c++ follows multi paradigm language(procedural as well as object oriented)
2.in c data is not secured,but in c++ data is secured(hidden)like data hiding which is not in c.
3.c is a low level language & c++ is a high level language
4.c is a top down approach but c++ is a bottom up approach
5.We can use functions inside structures in C++ but not in C.
6.C is function-driven while C++ is object-driven
7.C++ supports function overloading while C does not
8.C++ allows the use of reference variables while C does not

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is c++ not purely object oriented?

671


Why c++ is so important?

695


Why pointer is used in c++?

710


Define pointers?

702


write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.

2339






What is the iunknown interface?

772


What is the meaning of c++?

636


What's c++ used for?

676


What is singleton pattern in c++?

634


how to explain our contribution in the project?

3212


What are the four main data types?

663


What is iostream in c++ used for?

638


Difference between pass by value and pass by reference?

697


Why would you use pointers in c++?

716


How come you find out if a linked-list is a cycle or not?

658