136k views
12 votes
What is control flow in programming?

User Samzmann
by
5.7k points

1 Answer

7 votes

Answer: Control flow, also known as flow of control in computer programming, refers to the sequence in which function calls, instructions, and statements are performed or assessed while a program is operating. Control flow statements are used in many programming languages to determine which part of code runs in a program at any given time.

User Proximacentauri
by
5.1k points