What is the value at index 3 of the given array Dim myCharAr
What is the value at index 3 of the given array.
Dim myCharArray() As Char = {4 , 3, 2, 7, 9, 1, 10, 13,16}
Array.Sort(myCharArray)
Solution
Answer:
The value at index 3 is 7. Indexes will start from 0. so
Index 0: 4
Index 1: 3
Index 2: 2
Index 3: 7
After sorting values are {1,2,3,4,7,9,13,16}
Th value at index 3 is 4
Index 0: 1
Index 1: 2
Index 2: 3
Index 3: 4
