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
Post New Answer View All Answers
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
What is meant by operator precedence?
How can a program be made to print the name of a source file where an error occurs?
Create a simple code fragment that will swap the values of two variables num1 and num2.
What is openmp in c?
Explain can you assign a different address to an array tag?
What does. int *x[](); means ?
Using which language Test cases are added in .ptu file of RTRT unit testing???
What is scope of variable in c?
What extern c means?
Is the exit() function same as the return statement? Explain.
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
Are pointers integers in c?
if p is a string contained in a string?