Difference between C and C++
The major difference between C and C++ are :
- C is a procedural oriented language whereas C++ is an Object Oriented Language.
- C deals with functions but C++ deals more on data.
- C is a middle-level language but C++ is high level language.
- C++ is used to design large programs while C is used for small/medium programs.
- Operator overloading and function overloading is supported by C++ but not by C.
- C++ deals with real world entities while C not.
- A character constant in C is automatially converted into its equivalent ASCII, but it is not
in C++.
- In C register variables can't be addressed, but in C++ it is possible.
- Abstract data type mechanism is present in C++ but not in C.
Difference b/w OOP and POP :
The various difference b/w OOPs and POP(Procedural oriented programming) :
- POP deals with non-real items whereas OOP deal with real world entities.
- POP uses function programming approach whereas OOP uses object approach.
- In POP most of the functions share global data whereas in OOP every object can
share global as well as local data.
- POP uses top-down approach in program desing while OOP uses bottom-up approach.
- In POP large size programs are very difficult to handle while in OOP these are easy.
- Data is in shareable mode in POP while not shareable in OOP.
- POP uses procedure abstraction while OOP uses data abstraction.
- Example of POP : C,Pascal, Fortan while Ex of OOP : C++, Java,C#.
Prev NEXT
9 comments:
Nice Article Useful information like this one must be kept and maintained. Thanks for the narrting the difference between c,C++ and java in underrstanding. And Tour blog posts are very interesting...
http://javajavax.blogspot.in/2013/02/difference-between-c-and-c-and-java.html
Nice Article Useful information like this one must be kept and maintained. Thanks for the narrting the difference between c,C++ and java in underrstanding. And Tour blog posts are very interesting...
Nice Article Useful information like this one must be kept and maintained. Thanks for the narrting the difference between c,C++ and java in underrstanding. And Tour blog posts are very interesting...
Look at here Difference Between C and C++
Don't Forget to comment
http://geeksprogrammings.blogspot.in/2013/06/difference-between-c-programming-and-c.html
nice concepts of c and cpp...beauty!!!
Difference between c and c++
The main difference between C and C++ is, C is the procedure oriented language and C++ is the object oriented language.
Traditional Rakhi @ http://www.traditionalrakhi.com/
Traditional Rakhi with Hampers @http://www.traditionalrakhi.com/traditional-rakhi-hampers.html
<a href="http://www.traditionalrakhi.com/traditional-rakhi-with-chocolates.html”>Traditional Rakhi with Chocolates</a>
C is a procedural programming DomaiNesia language focused on functions, while C++ supports both procedural and object-oriented programming (OOP); OOP centers around objects and classes.
Post a Comment