

MCQOPTIONS
Saved Bookmarks
1. |
What is the use of fill() function in array class? |
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 |
Answer» B. To delete all the elements that are equal to the given value | |