Home » C++ Programming » Questions and Answers » Question
  1. What is the header file for vector permutation?
    1. <algorithm>
    2. vector_permutation
    3. vector_perm
    4. vector_permutation.h
    5. None of these
Correct Option: A

To use permutation on a vector we can use the “next_permutation” function defined in the header.



Your comments will be displayed only after manual approval.