- Computes
10 % 3
, which is1
- Computes
"" + 1
, which is"1"
- Creates
dig
and sets it to point to"1"
- Checks if
10 / 3
, which is3
is> 0
, which istrue
- Computes
"1" + ____
- Calls
recur
with10 / 3
, which is3
Resulting call stack
r(3)
r(10) dig -> "1" "1" + ____
r(32) dig -> "2" "2" + ____