what is the main difference between c and c++?
Answer Posted / priyanka
1. c doesn't support operator overloading but c++ support
operator overloading.
2. c is structured(procedural) programming language but c++
is an object programming language.
3. data is not secured in c but c++ data is secured.
4. c is top-down apporach and c++ is bottom-up apporach.
5. c using #include<stdio.h> as header file and c++ using
#include<iostream.h> as header file.
6. c is low level language but c++ is high level language.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain the advantages of inheritance.
How do you achieve runtime polymorphism?
Why it is called runtime polymorphism?
what are the ways in which a constructors can be called?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
What is the significance of classes in oop?
Is abstract thinking intelligence?
which feature are not hold visual basic of oop?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
When not to use object oriented programming?
What is encapsulation example?
What is inheritance in oop?
#include
What is meant by oops concept?
What is interface? When and where is it used?