Control Structures in C++ | Control statements in C++ | Selection statements in C++ | Types of Looping in C++

Control Structures in C++ | Control statements in C++ | Selection statements in C++ | Types of Looping in C++

Control structure can be used to alter the normal flow of a program depending upon some Condition.

Control structures can be categorized into three types:

  • Selection Statements
  • Iterative/Looping Statements
  • Jumping Statements

1. Selection statements in C++

Selection statements are used to execute a particular set of statements depending upon a Condition. They are of two types:

2. Iterative / Looping statements in C++

Iterative statements are also known as looping statements. They are used to repeat same set of statements again and again depending upon a condition.

Iterative statements are of three types:

3. Jumping statements in C++ 

Jumping statements are used to transfer the control of program from one point to another within the program. There are four types of jumping statements in C .

  • break
  • continue
  • goto
  • exit

Spread the love
Lesson tags: Control statements in C++, Control Structures in C++, jumping statements in C++, Selection statements in C++, Types of Looping in C++
Back to: C++ Programming Notes
Spread the love