Difference Between C and C++ Programming

Difference Between C and C++ Programming


difference C and C++















C ProgrammingC++ Programming
C follows the procedural programming paradigmC++ is a multi-paradigm language(procedural as well as object oriented)
In C language focus on procedure and steps.C++ focuses on the data rather than the process
In C data hiding and data security is not possible.Data hiding and data security is present.
C uses Top-Down approchC++ uses Bottom-Up approach
C is a function driven programming languageC++ is a object driven programming language
C does not support overloading conceptC++ supports overloading concepts like operator overloading and function overloading
C does not support namespaces conceptCPP supports Namespaces concept.
C not support exception handlingC++ supports Exception Handling
C is structured programming languageC++ is object oriented programming language.
C does not support inheritance, reusability, polymorphism, data abstractionCPP supports inheritance, reusability, polymorphism, data abstraction.
C language only support Early bindingCPP supports both Early and Late binding
C uses standard input, output functions like scanf and printf.C++ uses input function cin and output function is cout.
There are all data is available to end user. No data securityThere is data abstraction. Not complete data is available to End user

C and C++

Post a Comment

6 Comments
Ankit Singla said…
Thanks Deepak Purbia for this post. I was looking for a c and c++ differences and after a long search I come to your post. It really help me a lot..
Thanks..
MasterSiva said…
it is very easy to understand but we want extradinary examples.....
Unknown said…
Hello, i would like to ask that what is the scope of C language training, what all topics should be covered and it is kinda bothering me … and has anyone studies from this course http://www.wiziq.com/course/2118-learn-how-to-program-in-c-language of programming in C ?? or tell me any other guidance...
would really appreciate help… and Also i would like to thank for all the information you are providing on C concepts.
MANIGANDAN said…
Thanks for sharing this valuable information to our vision.

Just Click
MANIGANDAN said…
Thanks For Sharing.difference-between-c-and-c-programming

Executive MBA Distance Education
Good post..Keep Sharing.! I'm working in brave technologies private limited. We are the leading ERP software development company in chennai.