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 stack and heap?

Answer Posted / kannan.s

When a program is loaded into memory, it is organized into
three areas of memory, called segments: the text segment,
stack segment, and heap segment. The text segment
(sometimes also called the code segment) is where the
compiled code of the program itself resides. This is the
machine language representation of the program steps to be
carried out, including all functions making up the program,
both user defined and system.

The remaining two areas of system memory is where storage
may be allocated by the compiler for data storage. The
stack is where memory is allocated for automatic variables
within functions. A stack is a Last In First Out (LIFO)
storage device where new storage is allocated and
deallocated at only one ``end'', called the Top of the
stack.

Is This Answer Correct ?    5 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What’s thread.sleep() in threading ?

1004


What are the benefits of using the aggregate method in linq?

1003


What to implement on my class Finalize or IDisposable

976


Which namespaces are necessary to create a localized application?

1050


What is the Signification of the "new " keyword in C#? example

942


Is post back in c#?

956


Show us in simple steps to create setup & deployment project for windows application?

972


Explain the advantage of using system.text.stringbuilder over system.string?

877


What is the purpose of dictionary in c#?

885


Explain the types of assemblies in .net?

948


Which debugging tools you can use in the .NET ssSDK?

974


What are modifiers in c#?

867


Are classes passed by reference in c#?

880


What are the differences between a class and a struct?

1086


What is arraylist c#?

934