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

8

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

simple program of graphics and their output display

1962


Is the exit() function same as the return statement? Explain.

1050


What are the benefits of c language?

1129


write a c program for swapping two strings using pointer

2587


Is it possible to pass an entire structure to functions?

961


What is scanf () in c?

1091


What are the functions to open and close file in c language?

1147


When should you not use a type cast?

1082


What is the difference between far and near in c?

1014


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

15761


What is a substring in c?

1011


How do you define a function?

998


Why is %d used in c?

974


List the difference between a "copy constructor" and a "assignment operator"?

977


How can you avoid including a header more than once?

944