stack

sristi

sristi

@sristi-483Qff • Oct 26, 2024

hii all
can anyone explain when a stack is called up/down growing😕

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • xero

    xero

    @xero-28ehVN Apr 10, 2007

    hey,

    just think, how a stack of book grows 😀

    the more books u keep one over the other, the stack grows !!

    so the stack always grow up !!

    now speaking of up/down stack, we use the terms up and down just to mention the memory location, like if we create a stack with mem location 0000H (hex) and we keep storing elements inside, this is called upward stack. and if we use some mem location 0FFFFH and then we decrement the location of storage towards 00000H that's downward stack.

    Any way this is used very specifically when we talk performance issues on memory terms in different OS.

    so, i guess i was able to explain what u were expecting