Home » C++ Programming » Functions » Question
  1. How many parameters are needed for minmax function?
    1. 3
    2. 2
    3. 1
    4. All of above
    5. None of these
Correct Option: D

The “minmax” function can take the following:
1 parameter: An initializer_list object.
2 parameters: Values to compare.
2 parameters: An initializer_list object. and comparison function
3 parameters: Values to compare. and comparison function



Your comments will be displayed only after manual approval.