Posts by Matheus • 13 points
1 post
-
1
votes3
answers624
viewsQ: Doubt about recursiveness in C
I’m learning about recursion, using the C language, and I have to do the following exercise: Design a recursive function that takes an integer n and compute the sum of the digits of n. For example:…