C V/S C++ Language
Thread TagsAdobe Illustrator Adobe InDesign Adobe Photoshop Android Development Android Programming Android Studio Automation Testing C / C++ Programming Career Options College Lounge css digital marketing Digital Marketing / SEO Fireworks Graphic Design Graphic designing Graphics Design Graphics Designing HTML? Illustrator Internship Training logo Design logo designing Magento Photoshop PHP Programming QA react-native Scroll Website SEO Single Page Website Stock Managment System Testing Typography UI UI/UX Development UI Design UI Designing UI development User Interface UX Design Web Designing Website Design Wordpress wp
Log in with your username and password
Register for free!
Registration at Smart Mentors is completely free and takes only a few seconds. By registering you’ll gain:
- Full Posting Privileges.
- Access to Private Messaging.
- Optional Email Notification.
- Ability to Fully Participate.
- Author Replies
- April 8, 2019 at 11:24 am #55581
The main difference between C and C++ is that C is a procedural programming language and does not support classes and objects, while C++ is a combination of both procedural and object-oriented programming language; therefore C++ can be called a hybrid language.
C Programming Language:
1) The C language follows the procedural style programming.
2) In C, the methods scanf() and printf() are mainly used for input or output.
3) Data is less secure in C as compared to C++.
4) C also does not support reference variables.
5) There is no scope for function overloading in C.
6) The user cannot use functions in a structure in the case of C.
7) The C language follows the top-down approach.
C++ Programming Language:
1) C++ is a multi-paradigm programming language. It supports both procedural and object-oriented styles of programming.
2) The C++ language mainly uses streams CIN and COUT to perform the input and output operations.
3) In the case of C++, you can use modifiers for class members to make it inaccessible for outside users. Thus, the data is more secure in C++.
4) C++ supports the use of reference variables.
5) C++ supports function overloading.
6) In the case of C++, the user can use functions in structure.
7) The C++ language follows the bottom-up approach.
You must be register. Registration is 100% free.to reply to this thread.Please or