Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

int zap(int n)
{
if(n<=1)then zap=1;
else zap=zap(n-3)+zap(n-1);
}
then the call zap(6) gives the values of zap
[a] 8 [b] 9 [c] 6 [d] 12 [e] 15

Answer Posted / vint

Ans: 9

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?

1023


FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.

1708


What is meant by operator precedence?

1098


How can a program be made to print the name of a source file where an error occurs?

1178


Create a simple code fragment that will swap the values of two variables num1 and num2.

1239


What is openmp in c?

973


Explain can you assign a different address to an array tag?

1017


What does. int *x[](); means ?

1018


Using which language Test cases are added in .ptu file of RTRT unit testing???

4221


What is scope of variable in c?

995


What extern c means?

936


Is the exit() function same as the return statement? Explain.

1040


5 Write an Algorithm to find the maximum and minimum items in a set of ā€˜n’ element.

2045


Are pointers integers in c?

1031


if p is a string contained in a string?

1798