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
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
in linking some of os executables are linking name some of them
Why static is used in c?
What does 3 periods mean in texting?
How do you initialize pointer variables?
What is #include stdio h?
What do you mean by invalid pointer arithmetic?
How can I remove the leading spaces from a string?
What are header files and what are its uses in C programming?
design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.
Why does not c have an exponentiation operator?
Explain what are the __date__ and __time__ preprocessor commands?
What are local variables c?
What is the advantage of a random access file?
application attempts to perform an operation?