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 conditions when using boolean operators?

1140


How does c++ structure differ from c++ class?

1053


Differentiate between realloc() and free().

981


Can a list of string be stored within a two dimensional array?

958


What header file is needed for exit(); a) stdlib.h b) conio.h c) dos.h

1003


What is the use of map in c++?

1090


What is the difference between a declaration and a definition?

1040


What is istream c++?

1120


Evaluate the following expression as C++ would do :8 * 9 + 2 * 5 a) 82 b) 79 c) 370 d) list

950


When one must use recursion function? Mention what happens when recursion functions are declared inline?

1130


When is the copy constructor called?

1085


Where the memory to the static variables is allocated?

1001


What is c strings syntax?

1074


How do I run a program in notepad ++?

1042


program explaining feautures of c++

2389