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 difference between Class and Structure?

Answer Posted / vinod

The difference between a class and a structure is that, by
default, all of the members of a class are private and also private,public and protected but in structure by
default, all of the members of a structure are public.

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is null pointer and void pointer and what is their use?

1100


Which compiler does turbo c++ use?

1080


What is code reusability in c++?

1244


What is the difference between the functions memmove() and memcpy()?

1121


Is c++ still being used?

1027


Explain differences between new() and delete()?

1096


What are the advantages of using a pointer? Define the operators that can be used with a pointer.

1034


Do vectors start at 0 c++?

1030


Where do I find the current c or c++ standard documents?

1093


What is namespace & why it is used in c++?

1119


Write about the local class and mention its use?

1078


What is a sequence in c++?

1017


Is c++ harder than java?

1071


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

1137


How can you say that a template is better than a base class?

1073