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 / ajit kumar singh

The basis difference that c is structural Language and C++
is Object Oriented language addition with that C++ is super
set of c.
So C++ having all functionality that c have with addition
with Object Oriented functionality i.e Classes ,Operator
overloading etc.

So all other difference born from to fulfill these requirements.
So some c functionality is modify in C++ and some new added.

for example.
Modified :
1.In use of enum
2.In use of function
3.In size of Array
4. Type comaptibility
5.In use of Void pointer
6.Scope of Variable
7.Place of variable declartion
etc... You can find many more thing
Added new
1. Class
2. Reference variable
3.Dynamic initialization of variable
4. some more operator
5. new data type
6. new type of function (virtual ,friend,inline etc)
there are lot of minor difference and new...just check with
some good book....
but please don't pur misleading answer..

1.Class

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can static class have constructor?

1085


Why do we use oop?

1170


What is abstract class in oops?

1077


What are constructors in oop?

1282


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).

2202


How do you answer polymorphism?

1110


what are the realtime excercises in C++?

2897


What is inheritance write a program to show use of inheritance?

1204


What is polymorphism and example?

1099


What is the oops and benefits of oops programming?

1030


what is the sylabus for priliminaries?

2225


What are classes oop?

1091


What is a class and object?

1108


How is class defined?

1209


IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

2110