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

ans is 9

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is 02d in c?

1114


What is a global variable in c?

1083


Why header files are used?

1169


What is modifier & how many types of modifiers available in c?

1074


Does sprintf put null character?

1096


The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none

1316


Is anything faster than c?

1065


What is the difference between a function and a method in c?

1136


What do you mean by scope of a variable in c?

1060


What is #error and use of it?

1350


C program to find all possible outcomes of a dice?

2411


Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]

1135


how to find binary of number?

4543


Is c compiled or interpreted?

1251


Between macros and functions,which is better to use and why?

2327