0
Please explain the execution (trace table) of this code. (Decimal to binary using recursion)
I don't understand how this code works, though I get a correct output. https://code.sololearn.com/cSLVOwi7Nkeb/?ref=app
6 Respuestas
+ 1
Kit Delano Cat hm!!
Wow, thanks!
Didn't know it would be this complicated 😅
0
Kit Delano Cat I understand better, but can you give me similar explanation using 'n' as a decimal number?
0
Say n=8.
When first entering the recursion is the print() statement executed?
0
~ swim ~ Thanks..
Now my doubt is why does the function return to (3),(2), etc...