a) findsum()
b) accumulate()
c) calcsum()
d) checksum()
1 thought on “Which function can be used to find the sum of a vector container?”
Leave a Comment
You must be logged in to post a comment.
a) findsum()
b) accumulate()
c) calcsum()
d) checksum()
You must be logged in to post a comment.
b
Explanation: STL provides accumulate() function to find the sum of a vector.