Page 1 of 1

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

Posted: Wed Jul 13, 2022 7:53 pm
by answerhappygod
a) To fill an array with a given single value
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