what is the main difference between c and c++?
Answer Posted / sridivyapuvvada
C is object based language & C++ is object oriented
language.
C is top-bottom approach & C++ is bottom-top approach.
In C,we use PRINTF() ,SCANF() as standard input/output
functions & in C++,we can use COUT<< or CIN>> as standard
input/output function.
In C we are using #include<stdio.h> as header file, but
in C++ we are using #include<iostream.h> as header file.
C doesn't support operator overloading & C++ support
operator overloading.
C does not support the c++ programme but C++ support the C
program.
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
Why is abstraction used?
What is destructor in oop?
What is meant by multiple inheritance?
What are the benefits of oop?
What is the use of oops?
Why is destructor used?
What are functions in oop?
What is polymorphism and types?
Which type does string inherit from?
Why do pointers exist?
Is abstract thinking intelligence?
Can we define a class within the interface?
What is the difference between inheritance and polymorphism?
What is polymorphism programming?
to find out the minimum of two integer number of two different classes using friend function