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...

C program code

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 / guest

b

Is This Answer Correct ?    15 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the advantage of c?

1048


provide an example of the Group by clause, when would you use this clause

2129


What is an operator?

1021


What is pointers in c with example?

1025


What is the general form of function in c?

978


Explain is it better to bitshift a value than to multiply by 2?

1142


What is the meaning of && in c?

964


Is it possible to initialize a variable at the time it was declared?

1178


cavium networks written test pattern ..

4030


How can I handle floating-point exceptions gracefully?

1110


What is #include cctype?

1077


Is javascript based on c?

1003


Can you apply link and association interchangeably?

1074


Explain what is wrong with this program statement? Void = 10;

1196


What is the difference between single charater constant and string constant?

1036