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

The difference between a class and a structure is that, by
default, all of the members of a class are private and, by
default, all of the members of a structure are public.

Is This Answer Correct ?    797 Yes 102 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use the using declaration?

1178


What is tellg () in c++?

1314


Explain the difference between using macro and inline functions?

1128


Are c and c++ different?

994


What are the advantage of using register variables?

1174


What is the function of I/O library in C++ ?

1197


What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random

1140


what are the iterator and generic algorithms.

2171


If I is an integer variable, which is faster ++i or i++?

1071


What is pair in c++?

1073


What is different in C++, compare with unix?

1102


What is abstract keyword in c++?

1074


Is sorted c++?

1117


. If employee B is the boss of A and C is the boss of B and D is the boss of C and E is the boss of D. Then write a program using the Database such that if an employee name is Asked to Display it also display his bosses with his name. For eg. If C is displayed it should also display D and E with C?

3282


What is virtual base class?

1084