How many parameters are available in partial_sum function in c++?

a) 2
b) 3
c) 2 or 3
d) 3 or 4

1 thought on “How many parameters are available in partial_sum function in c++?”

d
Explanation: There are three or four parameters available in partial_sum function in C++. They are first and last element, result and an optional binary operator.

d

Explanation: There are three or four parameters available in partial_sum function in C++. They are first and last element, result and an optional binary operator.