Programming - Arrays - Discussion

You Are Here :: Home > C++ Language > Arrays - Discussion

 



Q.

To design a general-purpose search function, searchList, to search a list, which of the following must be parameters of the function searchList?
(i) The array containing the list.
(ii) The length of the list.
(iii) The search item.
(iv) A Boolean variable indicating whether the search is successful.                         


A. (i) and (ii) B. (i), (ii), and (iii)
C. (ii), (iii), and (iv) D. (i), (ii), (iii), and (iv)

Answer: Option B
Explaination:

 


No Explanation




Discussion

Your Comments Goes here...
NameDiscussion