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++?



What is the difference between a class and a structure in C++?..

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

More C++ General Interview Questions

Is there anything you can do in C++ that you cannot do in C?

1 Answers  


When should we use container classes instead of arrays?

0 Answers  


How the virtual functions maintain the call up?

0 Answers  


Is c++ the best programming language?

0 Answers  


What is the outcome of cout< a) 16 b) 17 c) 16.5

0 Answers  


difference between the c++ and c languages

4 Answers   Wipro,


What is an explicit constructor?

1 Answers  


What is an iterator class in c++?

0 Answers  


What is time h in c++?

0 Answers  


What return value must conversion operators have in their declaration?

0 Answers  


Explain "const" reference arguments in function?

0 Answers  


What are the uses of c++ in the real world?

0 Answers  


Categories