differentiate between C and C++
Answers
Answered by
0
Answer:
C is a Procedural Oriented language, whereas C++ is an Object-Oriented Programming language.
1. C supports only Pointers whereas C++ supports both pointers and references.
2. C does not allow you to use function overloading whereas C++ allows you to use function overloading.
3. C supports built-in data types whereas C++ supports built-in as well as user-defined data types.
4. C language follows the Top-Down programming approach whereas C++ follows a bottom-up programming approach.
5. 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.
Answered by
1
Explanation:
here is your answer
mark me as brilliant
Attachments:
Similar questions