Loop Control

Loop Control

Loop Control (a) The three types of loops available in C are for, while, and do-while. (b) A break statement takes the execution control out of the loop. (c) A continue statement skips the execution of the statements after it and takes the control through the next cycle of the loop. (d) A do-while loop is used to […]

Compilation and Execution

Compilation and Execution Once you have written the program you need to type it and instruct the machine to execute it. To type your C program you need another program called Editor. Once the program has been typed it needs to be converted to machine language (0s and 1s) before the machine can execute it. […]