How many parameters are required for next_permutation?

a) 1
b) 2
c) 2 or 3
d) 3

1 thought on “ How many parameters are required for next_permutation?”

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

Leave a Comment