+ 1

Array in Ruby

How do you set all the elements of an array to 0 or any specific value? Like memset in C++

6th May 2022, 2:26 AM
Sultan El Shirazy
1 Answer