a) 1

b) 2

c) 3

d) All of the mentioned

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

### Leave a Comment

You must be logged in to post a comment.

a) 1

b) 2

c) 3

d) All of the mentioned

You must be logged in to post a comment.

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