2
Answers

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

Suri

Suri

3y
799
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)