To check an array is sorted or not?

Here is how the teaching assistant are clearing doubt
Anubhav-Aron-1353657628083250Anubhav Aron18h
https://ide.codingblocks.com/s/58575
you are not using recursion properly.
Try this code

i wanted to know that where is the mistake not the code so that i can correct my mistake
below is the link of code i am sharing please clear doubt in appropriate way
https://ide.codingblocks.com/s/58475

Bro we are not here to debug your code.
We are here to solve your doubt regarding concepts and just tell u about how to approach the question.
Bt apart from this I gave you code so that You can check where u coded wrong in your code.
and you can easily see in your code that you are giving wrong parameter.
and I CLEARLY REPLIED YOU ARE NOT USING RECURSION PROPERLY
and just a line is changed in your code
(arr+(n-2))
can’t you give your 1% effort to have a look how this is working.
9873225242 PM OR CALL ME FOR THIS DOUBT
Email - [email protected]