C C++

C Control Flow Statements


What are Control Statements in C?

In C programming, a control statement is a statement that alters the flow of execution of a program. We use control statements to determine the order in which the instructions within a program are executed. They allow us to make decisions, repeat actions, and control the flow of our program based on certain conditions.

There are three main types of control statements in C:

  • Conditional Statements
  • Loop Statements
  • Jump Statements