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 / hussain reddy

9

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between the expression “++a” and “a++”?

1190


What is wrong with this initialization?

975


What is difference between union and structure in c?

1102


What type of function is main ()?

1015


How to create struct variables?

1069


How can I change their mode to binary?

1072


What is the purpose of 'register' keyword in c language?

992


Why do we need functions in c?

977


Using which language Test cases are added in .ptu file of RTRT unit testing???

4240


What is storage class?

1027


How many header files are in c?

1005


Write a function that will take in a phone number and output all possible alphabetical combinations

1013


What are different types of operators?

1003


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

1041


Explain how do you generate random numbers in c?

1059