Wednesday, April 08, 2009

Control Instruction in C

Control instruction in a programming language determines the flow of control in a program. In C language there are four types of control instruction, which are as follows:
  1. Sequence Control Instruction.
  2. Selection or Decision Control Instruction.
  3. Repetition or Loop Control Instruction.
  4. Case Control Instruction.

The sequence control instruction determines the instruction executed in the same order as they are written in the program.
The decision and case control instruction determines the computer as to which instruction is to be followed next.
The loop control instruction helps computer to repeat some instruction(s) execution.

No comments:

Post a Comment

Please give your valuable comments or queries if you fell its helpful or if you like the contents of the site. Thanks...