Pls tell whats wrong in thgis code.. one test case is not passing

Change line 7 to if(arr[0]<=arr[1] and isSorted(arr+1,n-1))

okay … thank you sir