What is the use of includes function in c++?
A. Compares two ranges of data
B. Compares two sorted ranges of data
C. Includes a new element in the range
D. None of the mentioned
Answer:A
What is the use of includes function in c++?
A. Compares two ranges of data B. Compares two sorted ranges of data C. Includes a new element in the range D. None of the mentioned
Explanation:Returns true if the first sorted range contains all the elements in the second sorted range.