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

ans is 9

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When should the volatile modifier be used?

1107


What is a far pointer in c?

990


What is const and volatile in c?

989


What the different types of arrays in c?

1022


What is string function c?

968


What is the difference between malloc() and calloc() function in c language?

1029


can anyone please tell about the nested interrupts?

2064


What is the easiest sorting method to use?

1097


What is union in c?

1060


When c language was developed?

1011


Explain b+ tree?

1007


what is reason of your company position's in india no. 1.

2230


Which is better oop or procedural?

988


What is #include stdio h and #include conio h?

1039


What is the correct code to have following output in c using nested for loop?

1027