Computer Science 102 Quiz 4 Name____________________ 1. Suppose prototypes for public functions are kept in "rayfuns.h" and this file is included in "ray.h" which also contains all of the structure definitions. The #include "rayfuns.h" must go a. At the start of ray.h before b. At the end of ray.h after the structure defs. the structure defs. c. Either place will work fine.. 2. Suppose a list of type list_t contains three items. The number of calls made to free() by list_del() should be a. 1 b. 3 c. 6 d. 7 3. In your ray tracing system, the polymorphic behavior of an O-O language will be emulated by the use of: a. structure hierarchies of b. the use of function pointers increasing specialization that may be optionally overridden c. the use of typedef 4. In your ray tracing system, the inheritance facility of an O-O language will be emulated by the use of: a. structure hierarchies of b. the use of function pointers increasing specialization that may be optionally overridden c. the use of typedef 5. A void *item; pointer was used in the link_t stucture because a. the item pointed to could b. the item pointed to was be of any type. allocated by malloc() c. the pointer typically had the value NULL.