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
What is protected in oop?
i got a backdoor offer in process global,Bangalore..Can i work with it?
How do you use inheritance in unity?
Explain the concepts involved in Object Oriented programming.
Which method cannot be overridden?
What is a class in oop?
What is data binding in oops?
What is oops with example?
Where You Can Use Interface in your Project
Write a c++ program to display pass and fail for three student using static member function
Why is destructor used?
What is the benefit of oop?
what is the drawback of classical methods in oops?
What are the important components of cohesion?
Can static class have constructor?