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

strucuter member function and variable are by defualt
public and class member varible and funtion are by defualt
private.
sructure can not inherited but class can .

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What's the order in which the local objects are destructed?

1274


Explain virtual class and friend class.

1067


What is general form of pure virtual function? Explain?

1012


Mention the storage classes in c++.

1092


Which is the best c++ compiler?

1095


What are the two types of comments, and how do they differ?

1154


Why c++ is called oop?

1136


What do c++ programmers do?

1071


Explain the uses oof nested class?

1151


Write a C++ Program to check whether a number is prime number or not?

1142


What is prototype in c++ with example?

1172


declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator

2369


Of the numbers 12 23 9 28 which would be at the top of a properly implemented maxheap a) 28 b) 9 c) Any of them could be

1430


Can non-public members of another instance of the class be retrieved by the method of the same class?

1096


Is c++ an oop?

1119