Merge sort question


17 Segmentation fault kyo aara ha bhaiya

at line no 21
correct statement is temp[k++]=a[j++];
you have written i instead of j

arey bhaiiyaa aasi aasi galti ho rahi ha hmsa

try to focus while writing the code these errors may happen by anyone
no problem

keep learning

if your doubt is resolved plz mark is as resolved from your side.

at line no 21
correct statement is temp[k++]=a[j++]; you have written i instead of j

I have corrected ur code.

Hope ur doubt is cleared now.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.