CS 105: C++
Quiz 4 Requirements
C: Chapter 4

  1. Know how to declare a function that takes no arguments, and how to declare a function that returns no value.

  2. The keyword "static" has multiple (and sometimes unexpectedly different) uses.  Know what it means when applied to a global variable declaration, a function declaration, and the definition of a variable within a function.

  3. Know what the keyword "register" means.

  4. Know how to define and initialize (in one statement) simple arrays.  Do you always need to specify the array size?

  5. Understand what's different about initializing character arrays.  Be able to produce the full syntax for initializing a character array both with and without the use of a string constant.

  6. Understand how to define a variable in one file, and declare (and use) it in another file.

  7. Understand how to declare a function without defining it, so that it can be used before it's defined or used if it's defined in another file.



Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.