Computer Science, asked by usern28, 5 months ago

consider array size as 10 there are 6 elements in the array the value at index 7 is to be deleted what will happen?

Answers

Answered by priyanshu79080
5

Answer:

As you are inserting the value in the 10th position or 9th index it would be done statically so when you will be printing the elements of the array. All the 8 element will be printed correctly and the ninth element will varies from compiler you use. If you are using Java you’re ninth element would be 0 and 10th element would be 100.

Answered by sanjana141421
1

Explanation:

Answer: As you are inserting the value in the 10th position or 9th index it would be done statically so when you will be printing the elements of the array. All the 8 element will be printed correctly and the ninth element will varies from compiler you use.

Similar questions