Posts by Daniel Costa Valerio • 73 points
2 posts
-
0
votes1
answer2173
viewsA: How to create a C Ranking?
To get the names and punctuation, as the size of the name and punctuation characters are different, we can use fscanf to accomplish this task. We would have for example: fscanf(pont_arq, "%s %d\n",…
-
4
votes1
answer3860
viewsA: Recursion in C: Sum
Yes the base case is 1. The base case is the simplest case and you know what the return value is for that case. This is the moment when your function returns a final element to the caller. In your…