Vidyalelo
C++ Programming · Q265

C++ miscellaneous

Programming · C++ Programming · question 265

Q265

What is the use of fill() function in array class?

A.
To fill an array with a given single value
Answer
B.
To delete all the elements that are equal to the given value
C.
To replace all the elements of the array which are equal to the given value
D.
To check whether given element fills the array or not

Answer: Option A

Solution

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