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

a

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above

1206


Explain the use of 'auto' keyword

1174


Is that possible to add pointers to each other?

1430


What does void main () mean?

1306


an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational

1383


Explain how do you print an address?

1208


What are the advantages and disadvantages of a heap?

1261


What is pragma c?

1187


What is the difference between array and pointer in c?

1234


When should volatile modifier be used?

1077


What is the code for 3 questions and answer check in VisualBasic.Net?

2210


how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?

2047


Write a code to determine the total number of stops an elevator would take to serve N number of people.

1313


Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.

1174


write a program to find the given number is prime or not

4851