Memory Allocation Three kinds of memory Fixed memory Stack memory Heap memory Fixed address memory Global variables Constant structures that donât fit inside a machine instruction.…