Program Execution Phases
Feb 5, 2023
Three main phases of program execution:
- Initialization: The program starts and memory is allocated for the variables, objects, and data structures used by the program.
- Processing: The program performs its intended functions, manipulates data, and interacts with the user or other systems.
- Termination: The program finishes its execution and frees up memory. This may involve closing files, releasing resources, and returning results.
Get Hadi’s stories in your inbox
Join Medium for free to get updates from this writer.





