What is the use of accumulate function in a numeric library?
(a) Returns the number
(b) Returns the result of accumulating all the values in the range
(c) Returns the number & result
(d) Return the characters
This question was addressed to me in semester exam.
This intriguing question comes from Generalized Numeric Algorithms topic in division Strings, Streams & Numerics in C++ of C++