Mergesort problem


sir out put is correct but when i submit it shows run time error

Hello @anuragavm123,

I have corrected your code:

Refer to the comments for better understanding.

Hope, this would help.
Give a like if you are satisfied.

Thank u sir i understood my mistake i didn’t used pointer