HOW C DIFFER BY C++


Hello Guys!!! Now I am going to telling that what is the difference between C language and C++. As we know both are programming language in computer science field but there are so much difference between them. Major difference beween C and C++ are as follows=>



1. C follows the procedural programming paradigm while C++ is a multi-paradigm language(procedural as well as object oriented).


2. In case of C, the data is not secured while the data is secured(hidden) in C++.

3. C is a low-level language while C++ is a middle-level language (Relatively, Please see the discussion at the end of the post).

4. C uses the top-down approach while C++ uses the bottom-up approach.

5. C is function-driven while C++ is object-driven.

6. C++ supports function overloading while C does not.

7. We can use functions inside structures in C++ but not in C.

8. The NAMESPACE feature in C++ is absent in case of C.

9. The standard input & output functions differ in the two languages.

10. C++ allows the use of reference variables while C does not.

I hope this post will help you.
Thanks !!
If still you have some query regarding to this then please post your comment after that i will 100% help you…:)

0 comments:

Post a Comment

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites