When C has the / operator to divide two numbers, what is the purpose of having the div() library function?
/
Is there any scenario where /
div() returns the result of the division and the remainder. So you don't have to use % operator to find the remainder.
div()
result
remainder
%