#include <stdio.h>
void f1(int a, int b)
if(a>b)
return 0;
return b+ f1(a,b-1);
}
int main()
{
printf("value is %d",f1(3,8);
return 0;
Answers
Answered by
1
Explanation:
#include <stdio.h>
void f1(int a, int b)
if(a>b)
return 0;
return b+ f1(a,b-1);
}
int main()
{
printf("value is %d",f1(3,8);
return 0;
Similar questions