Given the array a = [10, 20, 30, 40, 50, 60] with 6 elements, What will the…
DSSSB TGT/PGT · 2025 · TGT Computer Science · post code 56/24 · 12 Sep 2025 · Shift 2 · Section B: subject
Given the array a = [10, 20, 30, 40, 50, 60] with 6 elements, What will the array look like after inserting the value 45 at index 4?
- A.
[10, 20, 30, 40, 45, 50, 60]
- B.
[10, 20, 25, 30, 40, 45, 50]
- C.
[10, 20, 25, 30, 40, 45, 60]
- D.
[10, 25, 20, 30, 40, 45, 50]
Attempted by 123 students.
Sign up free to check your answer
Sign up freeLoading lesson…