In: Computer Science
Identify the define node, usage node, du-paths and dc-paths for all the variables.
int binsearch(int x,int v[],int n)
{
    int low,high,mid;
    low=0;
    high=n-1;
    while(low<high)
    {
        mid = ( low + high ) / 2;
        if( x < v[mid])
            high  = mid - 1;
        else if ( x > v[mid])
            low = mid + 1;
        else
            return mid;
    }
    return -1;
}
.