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

Why do while loop is used?

579


what is difference between class template and template class?

2161


which feature are not hold visual basic of oop?

1725


Can we have inheritance without polymorphism?

617


What is oops?what is its use in software engineering?

559






program for insertion ,deletion,sorting in double link list

2285


Is enum a class?

607


What is difference between inheritance and polymorphism?

575


What is encapsulation in ict?

608


What is persistence in oop?

677


can inline function declare in private part of class?

3662


Describe these concepts: Polymorphism, Inheritance and Abstraction.

616


What is abstraction example?

624


What is object and example?

604


How can you overcome the diamond problem in inheritance?

772