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

fn name and variable name are same it get overloaded..

by changing the variable name the ans will be: 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 the purpose of sprintf?

1070


int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;

1731


What is a stream water?

1129


In which language linux is written?

1170


What's the right way to use errno?

1090


Is void a keyword in c?

927


p*=(++q)++*--p when p=q=1 while(q<=6)

1700


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

1036


What is integer constants?

1018


What are structures and unions? State differencves between them.

1103


What is structure data type in c?

975


What is difference between structure and union?

1082


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

2692


Differentiate between #include<...> and #include '...'

1007


What are multibyte characters?

1063