Sorted array using recursion question


it is showinf wrong answer for test case 2.Pl tell the mistake

Change line no 7 of your code : if(a[0]<=a[1]&&issorted(a+1,k-1))

Thanks .got the mistake