Page 1 of 1

C. RECURSION

Posted: Tue Jul 05, 2022 10:26 am
by answerhappygod
C. RECURSION
C Recursion 1
C Recursion 1 (27.71 KiB) Viewed 9 times
FE-RECURSION-05 Given the program below, what are the last 4 values printed by the recursive function? 1 #include <stdio.h> 2 3 void getv(int n) 40 { 5 68 { 7896 10 11 234 12 13 14B { 15 16 17} int main() 1235 O 1236 if (n >= 1) 1234 1237 getv(n 1); getv (n - 3); printf("%d", n); getv(6); return 0;