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...

Is structure can be inherited?

Answer Posted / vinay bondade

Everything for what a class is implemented holds good for
structure also in C++. The only difference is the
attributes in a class if access specifiers are not
specified they are Private members but for structure they
are public members.

Is This Answer Correct ?    24 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. New() and malloc()

1159


Explain the difference between overloading and overriding?

1143


How many types of modularization are there in c++?

1081


Is there any difference between int [] a and int a [] in c++?

1020


What do you understand by zombie objects in c++?

1100


What is diamond problem in c++?

998


Which bit wise operator is suitable for checking whether a particular bit is on or off?

1031


What is DlgProc?

1024


Which function should be used to free the memory allocated by calloc()?

1025


If we want that any wildcard characters in the command line arguments should be appropriately expanded, are we required to make any special provision? If yes, which?

1509


What are c++ stream classes?

1048


What is malloc in c++?

1015


What new()is different from malloc()?

1106


What are the basics of local (auto) objects?

1146


What is encapsulation in C++? Give an example.

1100