what are difference between c and c++?

Answer Posted / sachin sonawane

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

for more information u can contact me on my E-mail ID miswarit@gmail.com

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I write a c++ program?

605


What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00

642


Explain bubble sorting.

641


How do I download c++?

580


How to tokenize a string in c++?

616






Define a pointer to a data member of the type pointer to pointer?

588


How do you remove an element from a set in c++?

589


How would you use the functions memcpy(), memset(), memmove()?

631


How do you sort a sort function in c++ to sort in descending order?

566


What is an arraylist c++?

698


Define a nested class.

620


Can I uninstall microsoft c++ redistributable?

618


When does a 'this' pointer get created?

632


Differentiate between an external iterator and an internal iterator?

578


Explain the use of vtable.

625