Bubble Sort Recursion

i cannot fighure out the error in my code


here is my code

@jatinupadhyay786
base case after completing a pass is wrong.
you are passing j instead of pass ‘0’.
so recursive call will be bubble_sort_recursive(a , 0 , n-1);

@jatinupadhyay786
i hope you understood it now.
Please mark the doubt as resovled if you do’t have further doubts in this problem.