CS 112 - Lab 1
| Name: _________________________ ||
|| ID: ____________________
Friday Lab Section (check one):
Provide answers (on this sheet) to the questions below, and hand them
to the TAs at the beginning of Lab 2 on Friday, January 31.
- What is the purpose for using function prototypes such as
int nexti (int, int); ?
- Are the arguments for the functions nexti and
nextj passed by value or reference? Explain.
- What does the data type void mean?
- How many iterations of the do-while loop in your main( )
function are required to fill-out a magic square of size 13?