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

What is the difference in size of this two clasees? Class A { int a; char c; float f; } Class B { float f; char c; int a; }

4 Answers  


What is the topic of the C++ FAQ list?

1 Answers  


Define virtual constructor.

0 Answers  


what are the decision making statements in C++? Explain if statement with an example?

0 Answers  


Can you explain the term "resource acquisition is initialization?"

1 Answers   Amazon,


diff between pointer and reference in c++?

1 Answers  


Can we overload operator in c++?

0 Answers  


What are the differences between a struct and a class in C++?

7 Answers   Amazon, Wipro,


What are the basics concepts of OOPS?

1 Answers  


Can you use the function fprintf() to display the output on the screen?

0 Answers  


Write a program to show polymorphism in C++?

0 Answers   Impetus, Verifone,


What is meant by forward referencing and when should it be used?

0 Answers  


Categories