I tried to dry run my code but my 2 test cases are failing
Test case failing
It is giving segmentation fault on that
cant we do insertion sort with for loop have a look on my for loop it is not for bubble sort i am trying insertion sort over there.
please tell me where is my code going wrong