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 a class and a structure in C++?

Answer Posted / nashiinformaticssolutions

With the exception of member variables and methods' default accessibility setting, class and structure (or struct) are essentially the same in C++. They are configured as public in a structure and private in a class.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the history of c++?

1131


Explain what are the sizes and ranges of the basic c++ data types?

1199


What is a character in c++?

1087


How are virtual functions implemented in c++?

1118


Name the operators that cannot be overloaded in C++?

1110


What are the operators in c++?

1166


What is a NULL Macro? What is the difference between a NULL Pointer and a NULL Macro?

1157


What is the use of data hiding?

1063


What is the use of volatile variable?

1158


Describe delete operator?

1144


What is the use of object in c++?

1154


Is it possible to have a recursive inline function in c++?

1068


What are built-in functions? What is the syntax for the definition?

1132


What is the difference between object-oriented programming and procedural programming?

1299


What will strcmp("Astring", "Astring"); return a) A positive value b) A negative value c) Zero

1148