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

What will be the outcome of the following conditional statement if the value of variable s is 10?

1375


Can true be a variable name in c?

1090


Why we use int main and void main?

1120


Write a progarm to find the length of string using switch case?

2125


What is the difference between volatile and const volatile?

1053


What is the scope of static variable in c?

1085


What are inbuilt functions in c?

1084


how to create duplicate link list using C???

2606


Where are local variables stored in c?

1098


Why can’t constant values be used to define an array’s initial size?

1442


Can we declare variable anywhere in c?

1036


Explain the use of fflush() function?

1134


A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

1772


Where static variables are stored in c?

1174


Explain what does it mean when a pointer is used in an if statement?

1108