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

difference between c and c++?

Answer Posted / pragati paliwal

1.c is procedure oriented lang. while c++ is object oriented lang.
2. in c data security is less because all function shares global data,while in c++ data security is most because of binding of data with function in a single unit called class.This feature of c++ is called encapsulation.
3.c does not deal with real world problems properly.eg. maintaining a database. while c++ deals with real world problems.
4.in c if we need to change the data structure then we have to change the coding of all the functions which are using that data,while in c++ if we need to change the data structure change only data structure of those functions which are binded with that data.

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How const int *ourpointer differs from int const *ourpointer?

1066


What is the prototype of printf function?

1114


What is low level language in simple words?

973


Should you pass exceptions by value or by reference?

1082


Why c++ is created?

949


Explain the difference between using macro and inline functions?

1050


What does override mean in c++?

1012


Which is better turbo c++ or dev c++?

1003


What is long in c++?

1193


Difference between inline functions and macros?

973


How can virtual functions in c++ be implemented?

1056


Explain the use of vtable.

1025


What gives the current position of the put pointer?

938


What is the difference between method overloading and method overriding in c++?

1080


Is swift better than c++?

886