Static Allocation
Static Allocation is a method of memory management where the size and location of variables are determined at compile time. This means that the memory for these variables is allocated before the program runs, and it remains fixed throughout the program's execution.
In static memory allocation, the allocated memory is typically stored in a specific area of the computer's memory, such as the stack or data segment. This approach is efficient because it reduces overhead during runtime, but it lacks flexibility, as the size of the allocated memory cannot change while the program is running.