Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / saraswathi

Difference between c and C++

C C++

1. C is a procedure oriented programming C++ is a object
oriented programming

2. C uses #include<stdio.h> C++ uses #include<iostream.h>

3. In C main focus is on functions In C++ main focus is on
data rather than functions. Data is not freely moved around
the system rather the functions exists in the object are the
only means by which the data can be accessed

4. In C No Data security In C++ data is hidden and is
secure from unauthorised access

5. In C there is no concepts like encapsulation,
polymorphism , inheritance etc. C++ provide encapsulation,
polymorphism, inheritance etc.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to reverse a string using recursive function?

2341


What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

2132


How long to learn object oriented programming?

1091


2. Give the different notations for the class.\

2160


Is this job good for future? can do this job post grduate student?

2164


What is interface in oop?

1126


Which is not an object oriented programming language?

986


Is html an oop?

1062


What does I oop mean?

1074


What is destructor in oop?

1027


Can we override main method?

1200


Why polymorphism is used in oops?

1053


write string class as your own class in java without using any built-in function

2500


Why do we use oops?

1015


What is pure oop?

1105