1) 10 points a) int, char, float. (any order) no credit for integer character or real! b) (int) (any casting operator is fine. c) ascii 2) 25 points 8 10 4 3 0 8 3 -4 2 1 5 6 7 8 9 8 4 -2 5 5 10 12 14 16 18 3) 16 points a) 4 3 7 b) 6.250 5 c) 8 5 3 5 d) -11 12 2 e) 24 2.03 4) 14 points f: tolower x: word, string, (1 point for "characters") y: length, numletters (2 point for "letters") i: count, loop, letter, character something like that. 5) 35 points a) 10 points int power(int, int); powersum(int matrix[][50], int rows, int cols); (void is ok) b) 7 points int i, j; powersum(arr2d, 100, 30); for(i=0; i < 100; i ++) { for(j = 0; j < 30; j++) printf("%d ", arr2d[i][j]); printf("\n"); } c) 18 points int power(int b, int e) { int i, retval = 1; for (i = 0; i < e; i ++) retval *= b; return retval; } powersum(int matrix[][50], int rows, int cols) { int i, j, k, sum; for( i= 0; i < rows; i ++) for(j = 0; j < cols; j ++) { sum = 0; for(k = 0; k <= i + j; k ++) sum += power(matrix[i][j], k); matrix[i][j] = sum; } }