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 does and I oop and sksksk mean?
What is the difference between encapsulation and polymorphism?
What is cohesion in oop?
What does <> mean pseudocode?
#include
Why do we use polymorphism in oops?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
Can you explain polymorphism?
What is the important feature of inheritance?
Give two or more real cenario of virtual function and vertual object
What is pure oop?
Why multiple inheritance is not possible?
What is the use of oops?
Write a c++ program to display pass and fail for three student using static member function
What is abstraction in oop?