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 / suresh ghosh

1.class by default used private access specifier but structure used public.
2.class is reference type but structure is value type.
3.class used stack algorithm but structure used heap algorithm.
4.structure don't used public access specifier.
5.class used inheritance but structure don't.

Is This Answer Correct ?    14 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we use this pointer in a class specific, operator-overloading function for new operator?

1149


Are c and c++ similar?

1113


Is it possible to pass an object of the same class in place of object reference to the copy constructor?

1101


Explain the difference between overloading and overriding?

1199


What does int * mean in c++?

1280


What does count ++ do in c++?

1254


Can a program run without main?

1330


Do the names of parameters have to agree in the prototype, definition, and call to the function?

1079


What do you mean by enumerated data type?

1104


What is a memory leak c++?

1218


Differentiate between a constructor and a destructor in c++.

1054


What is cout flush?

1080


What character terminates all character array strings a) b) . c) END

1356


What is type of 'this' pointer? Explain when it is get created?

1066


What is the most common mistake on c++ and oo projects?

1020