This function returns median of a [ ] and b [ ] . Assumptions in this function : Both a [ ] and b [ ] are sorted arrays
static float findmedian ( int a [ ] , int n1 , int b [ ] , int n2 ) { int i = 0 ;