Computer Science 101 Quiz M Name ______________________ struct work_type { int w[1024 * 1024]; }; struct work_type work; struct work_type *pwork = &work; 1. Which of the following function calls will cause 4MB of data to be copied onto the stack: a. fun1(pwork); b. fun2(work); c. both d. neither 2. Which of the following function class will allow the called function to modify the caller's copy of the structure. a. fun1(pwork); b. fun2(work); c. both d. neither 3. Which best defines the way "const" works here: void fun1(const struct work_type *q) { } a. It is like a comment but has b. It will cause a compile time no real effect error if the function contains: q->w[0] = 100; but other backdoor approaches c. It makes it completely can still be used to modify the impossible for fun1 to structure make any change to the structure 4. Consider these two function prototypes (1) struct work_type fun3(void); (2) struct work_type *fun4(void); Which return from the function will cause 4MB to be copied a. fun3() b. fun4() c. both d. neither 5. Passing a large array (which is NOT embedded in a structure to a function can causes the array to be copied onto the stack a. always b. never c. it depends on whether the array is passed using the name &array[0] or just using the name array