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

Difference between delete and free.

591


What things would you remember while making an interface?

539


What is the difference between interpreters and compilers?

602


Write a single instruction that will store an EVEN random integer between 54 and 212 inclusive in the variable myran. (NOTE only generate EVEN random numbers)

1464


What are the advantage of using register variables?

610






Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..

3327


What data encapsulation is in c++?

566


Describe about storage allocation and scope of global, extern, static, local and register variables?

689


What is a terminating character in c++?

735


Define pointers?

583


Why is c++ difficult?

585


Is dev c++ a good compiler?

506


What is the error in the code below and how should it be corrected?

281


Specify some guidelines that should be followed while overloading operators?

594


What is the best it certification?

551