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

9

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a header file?

1071


What is union in c?

1107


Differentiate between the expression “++a” and “a++”?

1242


What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

1414


Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?

3501


Explain what is the difference between functions abs() and fabs()?

1166


What is dangling pointer in c?

1205


What are derived data types in c?

1067


What is union and structure in c?

1204


What is exit() function?

1002


What is abstract data structure in c?

1022


Explain what is a pragma?

1033


How would you rename a function in C?

1030


A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile

1080


The difference between printf and fprintf is ?

1267