Control Statement Introduction

A program consists of a number of statements which are usually executed in sequence. Program can be much more powerful if we can control the order in which statement are run. Statements fall into three general types;

  • • Assignment, where values, usually the results of calculations, are stored in variables.
  • • Input/ Output, data is read in or printed out.
  • • Control, the program makes a decision about what to do next.

This chapter will discuss the use of control statements in C. we will show how they can be used to write powerful programs by;

  • • Repeating Important sections of the program.
  • • Selecting between optional sections of a program.


About the Author



Silan Software is one of the India's leading provider of offline & online training for Java, Python, AI (Machine Learning, Deep Learning), Data Science, Software Development & many more emerging Technologies.

We provide Academic Training || Industrial Training || Corporate Training || Internship || Java || Python || AI using Python || Data Science etc





 PreviousNext