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
Why do while loop is used?
what is difference between class template and template class?
which feature are not hold visual basic of oop?
Can we have inheritance without polymorphism?
What is oops?what is its use in software engineering?
program for insertion ,deletion,sorting in double link list
Is enum a class?
What is difference between inheritance and polymorphism?
What is encapsulation in ict?
What is persistence in oop?
can inline function declare in private part of class?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
What is abstraction example?
What is object and example?
How can you overcome the diamond problem in inheritance?