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 bits 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. "Whitespace" characters are handled by fscanf() when the %c and %s format codes are specified as follows: a. they are read in with %c but b. they are read in with %s but skipped over with %s skipped over with %c c. they are read in with both d. they are skipped over by both 5. When the %s format code is used to read a character string, reading will stop a. only when the end-of-string b. only when a newline occurs indicator is found in the in the input input c. whenever any "whitespace" character is found in the input.