adplus-dvertising
frame-decoration

Question

What is the use of accumulate function in numeric library?

a.

Returns the number

b.

Returns the result of accumulating all the values in the range

c.

Returns the number & result

d.

None of the mentioned

Answer: (b).Returns the result of accumulating all the values in the range

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the use of accumulate function in numeric library?

Similar Questions

Discover Related MCQs

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

Q. What is the default operation of adjacent_difference function in numeric library?

Q. Which header file is used to create the pseudo random generator?

Q. Which is a constant defined in <cstdlib> header file?

Q. How many parameters are available in srand function?

Q. Which operator is used to produce a certain number in a specific range?

Q. Which can be used to create a random number without duplication?

Q. Ios: : skipws, ios: : left, ios: : dec, ios: : fixed, is an example of

Q. If we don't want any ios object can be declared in ios class, we can use a default constructor

Q. C++ uses directive because

Q. The unformatted input functions are handled by

Q. The istream class defines the

Q. Which from the following functions does not extract the delimiter character from the input stream?

Q. Iostream is a subclass of

Q. Ios state variables holds

Q. The class fstream is used for

Q. The I/O library provides how many stream base classes?

Q. Which from the following format flag is not included in ios: : adjustfield mask?

Q. What is the mask of ios: :dec, ios: :oct, ios: : hex in format flags?

Q. The default constructor for ios class is