C++, as the name suggests is a superset of C. As a matter of fact, C++ can run most of C code while C cannot run C++ code. Here are the 10 major differences between C++ & C...
1. C follows the procedural programming paradigm while C++ is a multi-paradigm language(procedural as well as object oriented)In case of C, importance is given to the steps or procedure of the program while C++ focuses on the data rather than the process.Also, it is easier to implement/edit the code in case of C++ for the same reason.
2. In case of C, the data is not secured while the data is secured(hidden) in C++. This difference is due to specific OOP features like Data Hiding which are not present in C.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|