Computer Science 101 Quiz C Name ______________________ 1. The C language has no "official" "character string" data type. Instead character strings are represented by arrays of characters with the end of the string represented by: a. a byte of binary 0's b. the space character c. the new-line control d. the return control character character 2. When a string of characters is read into a character array using the %s format code, the end-of-string indicator (referenced in question 1) will be: a. automatically added by b. must be added by the program fscanf() c. must be present in the input data 3. The correct way to pass the value to be printed to fprintf() when using the the %c and %s format codes is: a. pass the address of the b. pass the value of the character character and the address to be printed but the address of the string in both of the string to be printed cases. c. pass the value of the character and the value of the string 4. Which of the the following is syntactically correct a. int sum( b. int sum{ int a; int a, int b; int b, { return (a+b);} { return (a+b);} c. int sum( d. int sum( int a, int a, int b, int b) { return (a+b);} { return (a+b);} 5. If I have correctly written the sum function and try to call it using: total = sum(3, 4); a. I'll get an error because b. I'll get an error because I I must pass it variables must pass it variables not constants. named a and b c. I'll get an error because d. It'll work and total will be I must pass it arrays. set to 7.