Home » C++ Programming » Questions and Answers » Question
  1. Pick out the correct statement about permutation.
    1. If the function can’t determine the next higher permutation, Returns true
    2. If the function can determine the next higher permutation, Returns false
    3. If the function can determine the next higher permutation, Returns true
    4. All of above
    5. None of these
Correct Option: C

If the function can determine the next higher permutation, it rearranges the elements as such and returns true.



Your comments will be displayed only after manual approval.