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

shobha is correct.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is table lookup in c?

1030


What is variable in c example?

990


What are the different properties of variable number of arguments?

1100


Explain threaded binary trees?

1102


Is swift based on c?

1051


What does c mean in standard form?

1096


What is the use of c language in real life?

972


What do you mean by c what are the main characteristics of c language?

976


What does *p++ do?

973


State two uses of pointers in C?

1006


Without Computer networks, Computers will be half the use. Comment.

2242


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

1047


What is type qualifiers?

1074


What is meant by recursion?

994


List some basic data types in c?

973