How many parameters are needed for minmax function?

a) 1
b) 2
c) 3
d) All of the mentioned

1 thought on “How many parameters are needed for minmax function?”

  1. d
    Explanation: 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

Leave a Comment