Computer Science 215 Quiz 9 Name ______________________ 1. What value will be printed by the following program: int fix(int a) main() { { a = 11; int a = 12; return(13); fix(a); } printf("a = %d \n", a); } a = 2. What value will be printed by the following program: int fix(int a) main() { { a = 11; int a = 12; return(13); a = fix(a); } printf("a = %d \n", a); } a = 3. What value will be printed by the following program: int fix(int *a) main() { { *a = 11; int a = 12; return(13); fix(&a); } printf("a = %d \n", a); } a = 4. The following program: void try_to_mod(struct large t); struct large_t main() { { double tab[64 * 1024]; try_to_mod(table); } table; } a. will not compile because it b. will actually pass a pointer is illegal to pass a structure to the structure when try_to_mod() as parameter is called. c. will cause 512K bytes of data to be copied on to the stack at the time of the call. 5. In the standard ray tracing paradigm a. the screen is between the b. the scene is between the viewer viewer and the scene and the screen c. the viewer is between the screen and the scene.