what is the main difference between c and c++?
Answer Posted / sushma sharma,hapur
These are the main difference of c and c++
*c follows the procedural programming paradigm while c++ is
a multi paradigm language.
*In case of C,the data is not secured while the data is
secured(hidden) in c++.
*C is a low level language while C++is a middle level language.
*C use the top down approach while C++ use the bottom up
approach.
*C is function-driven while is object driven.
*C++ supports functions overloading while C does not.
*we can use function inside structure in C++ but not in C.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Who invented oop?
Why is abstraction needed?
What is the diamond problem in inheritance?
what type of question are asked in thoughtworks pair programming round ?
What is meant by multiple inheritance?
Whats oop mean?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
Why is polymorphism needed?
Why do we use class?
What exactly is polymorphism?
What is oops and why we use oops?
What is this pointer in oop?
can we make game by using c
What do you mean by overloading?