what is the main difference between c and c++?
Answer Posted / rajendra kumar jena
C is a procedural Language, but C++ is a object oriented
language.
* C employs top down approach, but c++ employes buttom up
approach.
* Here in C, when ever we are writing a program, the data
are not secured from the outside world. but in C++ data are
secured from the outside world.
* C give emphasis in algorithims and functions, but C++
give emphasis on the data and objects.
* In C we are using #include<stdio.h> as header file, but
in C++ we are using #include<iostream.h> as header file.
Is This Answer Correct ? | 480 Yes | 71 No |
Post New Answer View All Answers
What is polymorphism explain its types?
What is byval and byref? What are differences between them?
What is encapsulation c#?
What is the purpose of polymorphism?
What are classes oop?
What are two types of polymorphism?
Is data hiding and abstraction same?
What is polymorphism what is it for and how is it used?
Can bst contain duplicates?
What is oops and its features?
What is the difference between static polymorphism and dynamic polymorphism?
What is polymorphism in oops with example?
What is oops in simple words?
Why do we use polymorphism in oops?
What is polymorphism in oop example?