Programming - Arrays - Discussion

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

 



Q.

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


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

Answer: Option A
Explaination:

 


No Explanation




Discussion

Your Comments Goes here...
NameDiscussion