Sorted array recursion

please help me , the code is giving wrong output

Hey @shikher_265
Can you post your code?

Hey @shikher_265
You need to pass j+1 instead of j++, doing this, the segmentation error will be removed.