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?

  1. A.

    [10, 20, 30, 40, 45, 50, 60]

  2. B.

    [10, 20, 25, 30, 40, 45, 50]

  3. C.

    [10, 20, 25, 30, 40, 45, 60]

  4. D.

    [10, 25, 20, 30, 40, 45, 50]

Attempted by 123 students.

Sign up free to check your answer

Sign up free

Explore the full course: Rssb Senior Computer Instructor

Loading lesson…