Based on the function call statement, what is the correct prototype statement for AnswerThePhone?
```int main()
{
bool bHome;
char greeting[25] = “Hello, are you there?”;
bHome = AnswerThePhone(greeting);```
A. void AnswerThePhone(char s[] );
B. bool AnswerThePhone(char s[], char c );
C. bool AnswerThePhone(char s[] );
D. char AnswerThePhone(char s[] );
C
You might also like to view...
What type of error occurs when a loop through an array iterates one time too few or one time too many?
a. runtime error b. validation error c. off-by-one error d. syntax error
If two classes have a HAS_A relationship, we should use:
A. composition B. polymorphism C. inheritance D. static binding
Linked List method list Iterator returns a(n) __________.
a. Iterator. b. List. c. sub list. d. bidirectional iterator.
The symbol for the stream insertion operator is ______.
Fill in the blank(s) with the appropriate word(s).