In memory, C++ automatically places a(n) __________ at the end of string literals which __________.

a. semicolon, indicates the end of the statement
b. \n, indicates an escape sequence
c. null terminator, marks the end of the string
d. bracket, marks the end of the string
e. None of these

c. null terminator, marks the end of the string

Computer Science & Information Technology

You might also like to view...

The term _________ parallelism refers to the degree to which, on average, the instructions of a program can be executed in parallel.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Write a function that counts the number of letters in the string using the following header:

int countLetters(const char s[]) Write a test program that reads a C-string and displays the number of letters in the string. Here is a sample run of the program: ``` Enter a string: 2010 is coming The number of letters in 2010 is coming is 8 ```

Computer Science & Information Technology