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

Declare a class vehicle and make it an abstract data type.

1024


Write a short code using c++ to print out all odd number from 1 to 100 using a for loop

1083


What is guard code in c++?

1222


What is the C-style character string?

1220


Why null pointer is used?

1095


Explain the advantages of using friend classes.

1225


Specify some guidelines that should be followed while overloading operators?

1262


What is general format for a prototype?

1098


Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?

1121


What is the full form of stl in c++?

1238


When should you use global variables?

1280


What does the ios::ate argument do?

1239


Do you know what are the new features that iso/ansi c++ has added to original c++ specifications?

1187


Do you know what are static and dynamic type checking?

1104


Why struct is used in c++?

1177