c Explanation: There are 2 or 3 needed for next_permutation. They are first, last and optional comp for comparing the elements. Reply

c

Explanation: There are 2 or 3 needed for next_permutation. They are first, last and optional comp for comparing the elements.