what is the main difference between c and c++?

Answer Posted / p vasavi

C++ IS THE ADVANCED VERSION OF C


* C IS A TOP DOWN APPROACH WHEREAS C++ IS A BOTTOM UP
APPROACH.

* C IS A OBLECT BASED PROGRAM THEY USE LIKE STRUCTURE AND
UNIONS WHEREAS C++ IS OBJECT ORIENTED PROGRAMMING THAT
MEANS ENTIRE PROGRAM IS MAINLY BASED ON OBJECT AND OBJECT
ORIENTED PROGRAMMING IS REUSEABILITY INCREASES THE
EFFICIENCY OF THE PROGRAM

* DATA IS NOT SECURED IN C WHEREAS IN C++ DATA IS SECURED

* IN C WE ARE USING #INCLUDE<STDIO.H> WHEREAS IN C++ WE
ARE USING #INCLUDE<IOSTREAM.H>

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

which feature are not hold visual basic of oop?

1919


How do you define a class in oop?

839


What are the features of oop?

819


What is polymorphism and types?

813


What is solid in oops?

793


What is inheritance in simple words?

801


What causes polymorphism?

795


What is the point of oop?

844


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

1873


What are properties in oop?

789


What are the types of abstraction?

752


Can we create object of abstract class?

793


How to use CMutex, CSemaphore in VC++ MFC

4517


Can we define a class within the interface?

776


What is encapsulation c#?

790