Name: Anonymous 2011-08-14 13:53
int digitCheck(int i, int j)
{
while(i > 1)
{
--i;
j /= 10;
if (j < 1)
return 1;
}
return 0;
}It's supposedly ANSI C.
Just testing a compiler.
When should this return 0?
When should this return 1?