top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to find out stack grows upward (towards higher memory address) or downward (towards lower memory address) ?

0 votes
275 views

I found couple of references which show different direction of stack and heap. Is it mandatory, code section always referenced at lower memory address and command line arguments at the higher ? And also I want to know how to figure out direction of stack ?

posted May 20, 2018 by Harshita

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
0 votes

It is very basic query but clearing the doubt always make your knowledge stronger.

+1 vote

As far as i know when a process is created, 8MB of stack is allocated to it.
Is it right?

If not then is there any fix size or not?

If yes then please answer and Help To solve this question also.

...