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

Computer Science & Information Technology

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

Computer Science & Information Technology

If two classes have a HAS_A relationship, we should use:

A. composition B. polymorphism C. inheritance D. static binding

Computer Science & Information Technology

Linked List method list Iterator returns a(n) __________.

a. Iterator. b. List. c. sub list. d. bidirectional iterator.

Computer Science & Information Technology

The symbol for the stream insertion operator is ______.

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

Computer Science & Information Technology