what is value function returns

Im having problems determining what value a simple function returns
when the return value is return b<a. Its not a bool would have to return int value
what value would it return if b < a and what value if b > a?


int ascending (int a, int b)
{
return b < a;
}
if the condition is met, the function returns a non-zero number(probably 1) otherwise zero.

Aceix.
Topic archived. No new replies allowed.