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 / sharad

in c++ structure and class are same. we can use the
structure in place of class for creating the object. but
the difference is only the default access specifier of the
class is private and public of the structure.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are inline functions? What is the syntax for defining an inline function?

1213


Write some differences between an external iterator and an internal iterator?

1085


What parameter does the constructor to an ofstream object take?

1104


Why c++ is faster than java?

1108


Explain the extern storage classes in c++.

1104


What is setw manipulator in c++?

1125


What is the full form of india?

1200


What is the difference between a declaration and a definition?

1172


What is general form of pure virtual function? Explain?

1039


Why is standard template library used?

1107


What is the use of c++ programming language in real life?

1097


Write about the access privileges in c++ and also mention about its default access level?

1125


Can constructor be static in c++?

1167


How to declaring variables in c++?

1209


Tell me can a pure virtual function have an implementation?

1103