c - what is below function fun doing include stdioh void funint item int n int arr10 0123712232490 int main fun17 9 forint j0 j10 j printfd arrj return 0 void funint item int n int i forin1 i0 itemarri i arri1 arri arri1 item - skillgun

it is finding if the given number is available in the array or not. if it is available, then it is adding 1 to that number and replacing the same.

it is trying to insert element 9, at the location 17 in the array.

it is trying to insert item 17, in this given sorted array of current size 9. but actual size of this array is 10. since array is in sorted order, it inserts it before 23.

it is trying to insert item 17, in this given sorted array of current size 10. since array is in sorted order, it inserts it before after 12, after traversing through 12.

Answer :(C)

it is trying to insert item 17, in this given sorted array of current size 9. but actual size of this array is 10. since array is in sorted order, it inserts it before 23.

Description :

it is trying to insert item 17, in this given sorted array of current size 9. but actual size of this array is 10. since array is in sorted order, it inserts it before 23.