A Program is usually not limited to a linear sequence of instructions or conditional structures and it is sometimes required to execute a statement or a block of statements repeatedly. These repetitive constructs are called loops or control structures. The C language supports three constructs; namely for, while and do-while loops. Rest of this chapter introduces these control structures.
No comments:
Post a Comment