C
c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stdio.h>
void calls(int n)
{
if(n < 1) return;
calls(n-1);
calls(n-3);
printf("%d", n);
}
int main() {
calls(6);
return 0;
}
/* how many times will the calls() function be invoke before returning to main */
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run