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 is the use of vtable?

1100


What is the difference between strcpy() and strncpy()?

1074


List down the guideline that should be followed while using friend function.

1009


Is c the same as c++?

956


What does flush do c++?

1018


Write a c program for binary addition of two 8 bit numbers.

4064


What is long in c++?

1199


What is called array?

1021


Why do we use structure in c++?

1005


What is a constructor and how is it called?

991


How come you find out if a linked-list is a cycle or not?

989


Explain deep copy?

996


Write a single instruction that will store an EVEN random integer between 54 and 212 inclusive in the variable myran. (NOTE only generate EVEN random numbers)

1880


Do you know about C++ 11 standard?

1040


What is a unnitialised pointer?

1016