 20.1.     ,   

int xdiv(int a, int b, int *c=0)
{
       if (!b) return 1;
       if (c) c[0]=a % b;
       return a / b;
}
