New course! Every coder should learn Generative AI!
Try a free lesson0
Static memory is something that compiler allocates in advance. While dynamic memory is something that is controlled by the program during execution. Program may ask more of it or may delete some allocated.