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

ans: b

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can f be used for both float and double arguments in printf? Are not they different types?

1131


What are different types of pointers?

1109


What are operators in c?

1077


Why enum is used in c?

1018


Define macros.

1331


code for replace tabs with equivalent number of blanks

2217


How many types of errors are there in c language? Explain

1029


Why is #define used?

1337


Do you know the purpose of 'register' keyword?

1071


What are the Advantages of using macro

1221


What is substring in c?

1266


How do shell structures work?

1174


find out largest elemant of diagonalmatrix

2327


What is c language & why it is used?

1180


Compare array data type to pointer data type

1085