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
What is the purpose of namespace in c#?
What is alias in c#?
What is a c sharp?
What are the properties in c#?
Is c# a keyword?
What do you mean by jagged array?
What is the difference between static class and sealed class in c#?
What is the difference between a method and a property?
What is a partial class. Give an example?
What are abstract classes in c#?
Define a class and an object?
How to add a readonly property in c#.net
What is reference c#?
What is assembly version series sequence?
What is the difference between dynamic and var in c#?