2
Answers

If i have an array and i want to fill this array by default value = 5

Photo of Suri

Suri

4y
839
1

If i have an array and i want to fill this array by default value = 5 
I made it like that.
Can i made it by another way !?

array < int , 6 > arr ;
arr.fill(5);

Answers (2)