pls solve the issue
Why segmentation fault is showing
int mid=s+e/2;
this statement is wrong,use brackets
int mid=(s+e)/2;
after this segmentation fault removed but your logic is not correct
you didn’t have to make new arrays (b and c)
pls solve the issue
int mid=s+e/2;
this statement is wrong,use brackets
int mid=(s+e)/2;
after this segmentation fault removed but your logic is not correct
you didn’t have to make new arrays (b and c)