Lecture 1 - Slide 26 : 34
Control structures
The control structures in C are well-known - and almost identical - to control structures in other languages in the C family
for-c.c
A program with a for loop in C.
for-output-c
Program output.
for.cc
Illustration of local variables in a for loop in C++.
for-output-cpp
Program output.