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's c++ used for?

1050


What is ios class in c++?

1025


What is the best way to take screenshots of a window with c++ in windows?

992


Define a nested class. Explain how it can be useful.

1037


What are the two types of polymorphism?

1054


Write about all the implicit member functions of a class?

1016


Explain dangling pointer.

1073


What is the difference between an external iterator and an internal iterator?

1047


Can we make copy constructor private in c++?

1005


What do you understand by pure virtual function? Write about its use?

950


Can we overload operator in c++?

975


What is a singleton c++?

944


Which software is best for c++ programming?

993


What does 7/9*9 equal ? a) 1 b) 0.08642 c) 0

907


What are the various storage classes in C++?

1085