Showing Runtime error

i have used recursion to do bubblesort but it is showing runtime error. Please tell what is wrong in my code.
Here is my code-

hi pragya
just write a return statement after line 14

but why do we need to write return statement over there?

because it is between the if parenthesis and u have to get return from that part