If the search needs to continue in the execution of the current search function, then line(s) __________ is(are) executed.

```
1 bool search( Node ptr, Bird & bird, Bird dove )
2 {
3 if ( ptr == NULL )
4 return false;
5 if ( ptr->info == dove ) {
6 bird = ptr->info;
7 return true;
8 }
9 return search( ptr->next, bird, dove );
10 }
```
which is called for a linked list (where start points to the first node) using the lines of code:
```
if ( search( start, bird, dove ) )
cout << “search successful” << endl;
```
A. 1
B. 9
C. 4
D. 6-7

1

Computer Science & Information Technology

You might also like to view...

When you use a form to add or change the data in a record, you have to use the Refresh All button on the ____ tab to update the corresponding table.

A. DATABASE TOOLS B. CREATE C. HOME D. FILE

Computer Science & Information Technology

Both parameters of the function to overload the operator << are reference parameters.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology