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

What is data hiding c++?

1051


What is the difference between a definition and a declaration?

1074


What is the cout in c++?

1058


Define stacks. Provide an example where they are useful.

1020


What are mutator methods in c++?

1168


How can virtual functions in c++ be implemented?

1139


Write some differences between an external iterator and an internal iterator?

1030


What is c++ hiding?

1223


What are the five basic elements of a c++ program?

1119


What kind of problems can be solved by a namespace?

1102


How do you compile the source code with your compiler?

1067


What is the latest version on c++?

1138


Can you please explain the difference between overloading and overriding?

1109


What is algorithm in c++ programming?

1133


Specify some guidelines that should be followed while overloading operators?

1215