santosv6948 santosv6948 10-01-2024 Computers and Technology contestada What are the values of array and index after the call to bar?private static void bar(int[ ] a, int i) { a[i]++; i++;}int[ ] array = { 1, 2, 3 };int index = 1;bar(array, index);*a.* array = { 1, 2, 3 }; index = 1;*b.* array = { 1, 2, 3 }; index = 2;*c.* array = { 1, 3, 3 }; index = 1;*d.* array = { 1, 3, 3 }; index = 2;