Control Statements C plus plus

Control statement is a statement that determines whether other statements will be executed or not. Control Statements in C plus plus also works similarly on the basis of given input they decide whether to execute further statements or not?

There is a list of control Statements in C plus Plus,they are:

  • Switch Case in C++
  • Loops in C++
    • For Loop
    • While Loop
    • Do-While Loop
  • Break Statement in C++
  • Continue Statement in C++
  • Goto Statement in C++
  •  Comments in C++

 

Now we will look at each in detail,then they will be more clear to us.