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 are the advantages of external class?

1125


Why can’t we compare structures?

1327


What is difference between union All statement and Union?

1161


What are the differences between new and malloc in C?

1210


How can I find the modification date and time of a file?

1129


Is boolean a datatype in c?

1135


What is wrong with this program statement?

1088


Write a program that accept anumber in words

1817


What is the difference between NULL and NUL?

1354


void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply

2856


Can you assign a different address to an array tag?

1216


What do you know about the use of bit field?

1101


What are called c variables?

1132


Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

1137


How do you determine a file’s attributes?

1136