This function aims to return the number of zeroes in a number, num. The function rCountZeros2() passes the result through the pointer parameter result. `
void rCountZeros2(int num, int *result)
{
if (num==0)
return;
else
{
if (num%10==0){
(*result)++;
}
rCountZeros2(num/10, result);
}
}
`