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

if we inherit class in stack so object of stack will store
in stack or heap? as
class a
{
int s;
public aa(){}
}
stack mystack:a
{

}
mystack obj;

ans: about obj

Answer Posted / vikas kumar

we should initialize the object with (new) key word.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I get around scope problems in a try/catch?

875


How is lazy loading achieved?

877


Does unity use c++ or c#?

844


Which attribute is used in order that the method can be used as webservice?

906


What is difference between mutable and immutable in c#?

866


Explain briefly the difference between value type and reference type?

973


What is int tryparse in c#?

908


Structs are largely redundant in c++. Why does c# have them?

1220


What is the do while loop code?

890


What is datetime parse in c#?

904


Where do I put dll files?

974


Explain how to implement an object pool in c#.net

907


When do we generally use destructors to release resources?

886


Is it possible to inherit multiple interfaces?

971


Explain the functionalities of satellite assembly?

914