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
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
English,
1 month ago
CBSE BOARD X,
1 month ago
Computer Science,
1 month ago
Math,
3 months ago
Math,
9 months ago
Math,
9 months ago