Question: DUBUGGING IN C LANGUAGE: Program 5: int func(int) main() { int num = 7, c; int f= func(num); printf( %d of %d , num, f);
DUBUGGING IN C LANGUAGE:
Program 5:
int func(int)
main()
{
int num = 7, c;
int f= func(num);
printf(" %d of %d ", num, f);
}
int func(aj);
{
if(aj=1 aj=0)
return 1;
else
return (aj*fun(aj-1);
}
a. 49
b. 5040
c. 7117
d. none of the above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
