1.

8. What will be the output of the following program?#include int fun(int n) {if(n!=0) {return n - fun(n-5);} else {return n;}int main() {int n = 10, Z,z = fun(n);printf("%d", z);​

Answer»

ANSWER:

The OUTPUT will be:

5

hope it HELPS



Discussion

No Comment Found