This function returns:
```
1 bool search( Node
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. true if the linked list is empty
B. false if a dove is found in the list
C. true if the linked list does not contain a dove
D. None of the above
1
You might also like to view...
The most general class in a class hierarchy is placed at the bottom of the hierarchy.
Answer the following statement true (T) or false (F)
To modify a SmartArt object, click the SmartArt Tools Design tab, click the ____ button in the SmartArt Styles group, then click a style.
A. Style B. Modify C. Drawing D. More