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


Please Help Members By Posting Answers For Below Questions

What is polymorphism explain its types?

675


What is byval and byref? What are differences between them?

1687


What is encapsulation c#?

600


What is the purpose of polymorphism?

675


What are classes oop?

596






What are two types of polymorphism?

607


Is data hiding and abstraction same?

567


What is polymorphism what is it for and how is it used?

572


Can bst contain duplicates?

664


What is oops and its features?

584


What is the difference between static polymorphism and dynamic polymorphism?

579


What is polymorphism in oops with example?

526


What is oops in simple words?

577


Why do we use polymorphism in oops?

577


What is polymorphism in oop example?

513