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

Class Can be abstract but structure can't
Class support inheritance but sturcutre can't
Class allows modifiers such as public,private but structure by default allow public
Class can used for huge amount of data, structure is for limited amount of data

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.

1058


Why ctype h is used in c++?

963


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

1247


What is the cout in c++?

1056


How is computer programming useful in real life?

1071


Write some differences between an external iterator and an internal iterator?

1029


What is the full form of dos?

1170


Differentiate between the message and method in c++?

1076


Comment on c++ standard exceptions?

1076


How is c++ different from java?

1051


What is unary operator? List out the different operators involved in the unary operator.

1007


Can you be able to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?

1110


What is protected inheritance?

1050


How is modularity introduced in C++?

1215


What do you mean by function overriding & function overloading in c++?

1194