i am not getting correct answer
here is my code
Median of sorted array
@Vipul.kapoor
Line 22 make it cin>>b[j]
And median for even sized array which is C in your case is (val[n/2-1]+val[n/2]) / 2
If your doubt is resolved please close it
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.