BUBBLE SORT-I am getting 2 testcases wrong?

What is the problem with my code. https://ide.codingblocks.com/s/87586

@Bumblebee hey Himalaya declare array according to the constraints according to question.
and loop is not right first loop run from
for(i=0;i<n;i++)
second loop
for(j=0;j<n-1;j++)