Answer Posted / pankaj saraf
Memory Layout consists following segments where data/text
are managed:
1) Text Segment : Consists serial of instruction.
2) Data Segment : Consists, Data default or defined class
specifier
i) Stack Segment : Area where the current function data
is managed.
ii) Heap Segment : Area where dynamically allocated data
stored.
3) BSS Segment: For uninitialized data.
Data segment is actually contains the static data which is
decided on the compile time. Rest of Area is used by Stack
and Heap which is actually modified run time. Stack grows
from higher address to lower Address. Heap grow just
opposite to the stack.
Anything else you guys are invited to add. :)
| Is This Answer Correct ? | 36 Yes | 7 No |
Post New Answer View All Answers
What's a good way to check for "close enough" floating-point equality?
What are the restrictions of a modulus operator?
How can I call a function with an argument list built up at run time?
What are pointers? What are stacks and queues?
What does p mean in physics?
What is scope of variable in c?
write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.
How can you find out how much memory is available?
What is define directive?
Is null always defined as 0(zero)?
What is difference between %d and %i in c?
Explain what are reserved words?
Is it possible to have a function as a parameter in another function?
What is a structure in c language. how to initialise a structure in c?
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.