Memory Management
Total memory allocation of a Program are divided into 4 parts Instruction Data Stack Heap what they store ? Instruction --- store all lines and instruction in program . Data -- global and static variable. Stack -- function , local , variable, variable in function ,recursion time memory and loop (any memory that are needed for operation) time and various memory that are required at time while performing job . Heap -- dynamic created memory.(by malloc , new ) Instruction and Data both memory size are fix at the time of program start . 2. Stack and Heap memory co...