C program code
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 / guest
9
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
Write a program to use switch statement.
Difference between Shallow copy and Deep copy?
What is malloc() function?
Tell me what are bitwise shift operators?
How to delete a node from linked list w/o using collectons?
What is the difference between call by value and call by reference in c?
The statement, int(*x[]) () what does in indicate?
write an algorithm to display a square matrix.
Are there namespaces in c?
Is there a way to switch on strings?
What is an endless loop?
What is #include stdlib h?
Explain what is a 'locale'?