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

Generally variables are stored in heap memory. When he
variables are created in stack?

Answer Posted / rohit repale

It is wrong to say that genarally variables will be stored
in heap memmory.
Bcos Storage area always depends on the storage class of
the variable.
If the variables are created by new i.e. dynamic memory is
created then it use heap memory.
static & extern variables are stored in static memory.
And other normal variables are stored in stack.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain rtti.

1090


Describe new operator?

1163


Can we use struct in c++?

1026


the first character in the variable name must be an a) special symbol b) number c) alphabet

1099


What are the two main components of c++?

1103


What is pair in c++?

1073


What happens if a pointer is deleted twice?

1277


Describe the advantages of operator overloading?

1048


What is java and c++?

1180


Write an algorithm that determines whether or not an almost complete binary tree is a heap.

3926


How do you define a class in c++?

1087


Is it legal in c++ to overload operator++ so that it decrements a value in your class?

1067


Why do we use vector in c++?

1079


Can I create my own functions in c++?

1091


Is c++ an oop?

1103