Immediately following the function declaration is the specification of the types of the parameters that are passed to the function. After all declarations for variables have been made within the braces, the programming begins. The reader is assumed to have knowledge of basic programming loops, if constructs, etc. from a basic programming course. All statements in C must be ended with a semicolon as can be seen in the body of the skeleton program. Then the variable j will add i to it each time until i has reached 511 at which time it will exit the for loop.
Pointers Note that the variable 'image' in the skeleton program provided above is a pointer.
All this means is that indirect addressing will be used for this variable. Thus when the variable 'image' is referenced in the program, 'image' will correspond to the memory address allocated to the variable. So for example, let's say you want to set the contents at the memory location of image to 100. Pointers and for loops will be some of the basic constructs needed to do labs.