Which of the following code segments would correctly set the first two elements of array arr to 10 so that the new value of array arr will be 10, 10, 3, 4, 5?
1) arr[0] = 10; arr[1] = 10;
2) arr[0] = 10; arr[2] = 10;
3) arr[1] = 10; arr[2] = 10;
4) arr[1] = 10; arr[0] = 10;