Suri

Suri

  • NA
  • 113
  • 11.2k

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

Jun 24 2021 9:52 AM

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)