Monday, September 28, 2009

What is a control structure? The basic for control structure in C / C++ programming languages.

What is a control structure? The basic for control structure in C / C++ programming languages.

A statement used to control the flow of execution in a program or function is called control structure. The control structures in c / c++ programming language are used to combine individual instruction into a single logical unit. The logical unit has one entry point and one exit point.

The instructions in a program can be organized in three kinds of control structure to control execution flow in c / c++ programming language. All simple or complex programs can use these control structures to implement the program logic.

These control structures are three kinds.

  • Sequence Structure
  • Selection Structure
  • Repetition Structure
learn unix c programming, c programming, programming languages

1 comment:

Ads