A statement used to control the flow of execution in a program or function is called
control structure. The control structures in
c / c++ programming language are used to combine individual instruction into a single logical unit. The logical unit has one entry point and one exit point.
The instructions in a program can be organized in three kinds of
control structure to control execution flow in
c / c++ programming language. All simple or complex programs can use these
control structures to implement the program logic.
These
control structures are three kinds.
- Sequence Structure
- Selection Structure
- Repetition Structure