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 are the differences between a struct and a class in
C++?

Answer Posted / ramesh kasi

The only difference is related to the default access
specifier.
The members of a structure have public access by default.
The members of a calss have private access by default.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the basics of local (auto) objects?

1146


How new/delete differs from malloc()/free?

1145


Describe delete operator?

1093


What are namespaces in c++?

1099


What is a local variable?

1084


what are the events occur in intr activated on interrupt vector table

1758


What is iostream in c++ used for?

1039


What is c++ vb?

1101


How does work in c++?

1080


What is dev c++ used for?

1042


How is data hiding achieved in c++?

1082


What is the protected keyword used for?

1113


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

1073


What do you mean by static variables?

1178


What is the best c++ ide?

1178