Is there any other method could initialize an array with a specific value except using loops?
For example: initializing all the elements of double array[1e5]
double array[1e5]