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

a

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the standard predefined macros?

1146


main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

1158


What is the use of typedef in c?

1035


What are global variables and explain how do you declare them?

1108


What is typedef example?

1190


What is calloc malloc realloc in c?

1059


What is s in c?

1055


Where register variables are stored in c?

970


Explain the advantages and disadvantages of macros.

1105


Tell me what are bitwise shift operators?

1132


Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?

2128


C program to find all possible outcomes of a dice?

2363


How can I sort a linked list?

1049


What is sizeof int?

1102


Can a variable be both constant and volatile?

1125