KEY DIFFERENCE
- C is a Procedural Oriented language, whereas C++ is an Object-Oriented Programming language.
- C supports only Pointers whereas C++ supports both pointers and references.
- C does not allow you to use function overloading whereas C++ allows you to use function overloading.
- C supports built-in data types whereas C++ supports built-in as well as user-defined data types.
- C language follows the Top-Down programming approach whereas C++ follows a bottom-up programming approach.
- C scan and printf are used for the standard input and output while in C++, cin and cout are given for standard input and output operations.
No comments:
Post a Comment