int function ( int arg0 [ ] , int arg1 , int arg2 , int arg3 ) { if ( arg2 >= arg1 ) { int loc0 = ( arg2 + arg1 ) / 2 ; if ( arg0 [ loc0 ] == arg3 ) { return loc0 ; } if ( arg0 [ loc0 ] > arg3 ) { return binarySearch ( arg0 , arg1 , loc0 - 1 , arg3 ) ; } return binarySearch ( arg0 , loc0 , arg2 , arg3 ) ; } return - 1 ; }
returns index of x if it 's present in arr 1 . . r , else return -1 concode_field_sep PlaceHolder placeHolder concode_field_sep void main