Consider the program below and what is that print value of


Consider the program below and what is that print value of b? 

#include  int fun ( int n, int *fp )
{    int t, f;     if ( n <= 1 )
    {
        *fp = 1;
        return 1;
    }
    t = fun ( n-1, fp );
    f = t + *fp;
    *fp = t;
    return f;
}

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Consider the program below and what is that print value of
Reference No:- TGS01283447

Now Priced at $12 (50% Discount)

Recommended (95%)

Rated (4.7/5)