ANSI C Programming: Flow Control


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number



Overview/Description
To describe advanced flow-control statements

Target Audience
Programmers and software developers new to ANSI C

Prerequisites
Awareness of programming concepts; experience of using a third-generation, high-level language, such as Pascal, PL/1, BASIC, or FORTRAN

Expected Duration (hours)
2.7

Lesson Objectives

ANSI C Programming: Flow Control

  • list the flow control mechanisms available and use the correct syntax for if, nested if, and if-else statements in ANSI C.
  • write an if-else statement in ANSI C.
  • differentiate between ANSI C's three loop statements.
  • use the break and continue statements appropriately in ANSI C.
  • write nested loop statements in ANSI C.
  • identify appropriate scenarios for using the goto statement in ANSI C.
  • use the switch statement in ANSI C and distinguish between it and the if-else statement.
  • write a switch statement in ANSI C.
  • Course Number:
    116731_eng