I am trying to get the concept of stack and i have confusion i tried to find answer but couldn't find.
Ok so values store in stack only from top it means it grows as values position grows one by one and it means it the direction of growth should be upward as shown in the image :
But Stack grows downward as described. How??
if i am understanding correct then:
when values store in stack it take spaces so it means stack is not growing because its memory is decreasing , But when values return from the stack then the stack grows because storage are being free in stack. and also one of answer on stackoverflow says Direction of glow of stack is opposite to the direction of glow Am i getting right ??? if not please explain