Computer Science, asked by kalyanipatil9090, 3 months ago

consider array size as 10. There are 8 elements in the array. The value (say 100) is to be inserted at index 9. What will be the output? ​

Answers

Answered by umeshnirmal04
3

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.

Similar questions