Morgan Stanley Interview Question

CS theory questions include questions like what is the difference between stack and heap?

Interview Answer

Anonymous

Oct 17, 2023

Just recalled standard definition: Stack provides static memory allocation, i.e., it is used to store the temporary variables. Heap provides dynamic memory allocation etc..