CS 3733 Operating Systems, Fall 2006 Assignment 0 Comments

  1. Explain in your own words what a NULL pointer and a null byte are.
  2. What is the size of each?
  3. How are they used?
  4. Explain in words why the data type for an array of strings as described above has data type char **.
  5. Suppose you want to have a function create one of these arrays of pointers and return it in a parameter, rather than as a return value. What data type would be passed as this parameter?
Note that there is a difference between a pointer to a pointer to a char and an array of strings, although they may be represented with the same data type.