Lecture 1 - Slide 26 : 34
The control structures in C are well-known - and almost identical - to control structures in other languages in the C family
- with the
C++: Can declare local variables (of one type) in the initialization part (not possile in ANSI C)
in similar languages)
Ohter control mechanisms in C
A program with a for loop in C.
Illustration of local variables in a for loop in C++.