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

Why is oop useful?

600


What is object in oop?

677


What is constructor in oop?

585


What is polymorphism in oops?

556


write a program that takes input in digits and display the result in words from 1 to 1000

1985






How is polymorphism achieved?

583


What is the difference between abstraction and polymorphism?

610


What do you mean by abstraction?

608


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

1687


What is a class in oop?

595


Do you know about multiple inheritance?

637


Why is polymorphism needed?

591


any one please tell me the purpose of operator overloading

1963


What is the full form of oops?

607


What exactly is polymorphism?

600