Name: ________________________ Honor Code Acknowledgment: ___________________ Random Quiz # 14 CPS 08, Spring 1995 April 17, 1995 Problem 1: Michael's array order (at the beach) (3 pts) Write the function KthColumnSum whose header is given below. The function returns the sum of the values in column k of two-dimensional array mat. int KthColumnSum(int mat[][100], int k, int numRows) // precondition: 0 <= k < 100 // postcondition: returns sum of all values in column k of mat { } Problem 2: Pointer Sisters (3 points) What is output by the following program? #include main() { int num = 25; int * np = # *np = 32; int * list = new int[10]; list[0] = 0; list[1] = num; np = &list[2]; num = 13; *np = 55; cout << list[0] << " " << list[1] << " " << list[2] << endl; }