Insertion sort array

here is code
https://ide.codingblocks.com/#/s/13991
here is question
https://hack.codingblocks.com/contests/c/474/208

my 2 testcase have failed
can someone tell me what should i modify to successfully pass the test case?

code:-https://ide.codingblocks.com/s/169689