Vidyalelo
C++ Programming · Q218

C++ miscellaneous

Programming · C++ Programming · question 218

Q218

What is the use of apply() function in Valarray?

A.
Returns new array after shifting elements by the given number
B.
Returns the summation of all elements of the Valarray
C.
Applies the manipulation provided to all the elements of the array
Answer
D.
Returns new array after circular shifting elements by the given number

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board