Control Instructions in C language

As the name suggests “Control instructions”, it allows us to specify the order in which the different instructions in a program will be executed by the computer. In other words, the control instructions determine the “control flow” in a program. There are four types of Control Instructions in C. These are:

  • Sequence control instructions
  • Instructions for selecting or controlling the decision
  • Instructions for repeating or checking loops
  • Case control instructions

The sequence control instruction ensures that the instructions are executed in the same order as they appear in the program. The decision and case control instructions allow the computer to take a decision as to which instruction to follow. The Loop control statement helps the computer repeatedly execute a group of statements. In the following chapters we will learn these detailed instructions. Try your hand at the exercise presented in the following pages before moving on to the next chapter, which discusses the decision control instructions.

More c language related topics here

http://projugaadu.com/category/topics/c-language/

Leave a Comment