What is the output of the program given below
#include
write a C code to reverse a string using a recursive function, without swapping or using an extra memory.
9 37229C 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
6 19656What is false about the following A compound statement is a.A set of simple statments b.Demarcated on either side by curly brackets c.Can be used in place of simple statement d.A C function is not a compound statement.
5 18470What is true about the following C Functions a.Need not return any value b.Should always return an integer c.Should always return a float d.Should always return more than one value.
11 20688Main must be written as a.the first function in the program b.Second function in the program c.Last function in the program d.any where in the program
19 25851Which of the following about automatic variables within a function is correct ? a.its type must be declared before using the variable b.they are local c.they are not initialised to zero d.they are global.
6 15480Post New TCS C Interview Questions
How to implement a stack in Perl?
In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?
Which laptops come with microsoft word?
Differentiate between abap memory and sap memory?
please send me bhel questions on rupesh.017@rediffmail.com
How do I reset microsoft word 2019?
How to show table structure mysql?
Explain the term stateless components
You have been asked to submit a proposal for a project that has been put out for bid. First, you attend the bidders conference to ask questions of the buyers and to hear the questions some of the other bidders will ask. Which of the following is true? A. Bidders conferences are a tool and technique of the Source Selection process. B. Bidders conferences are an output of the Source Selection process. C. Bidders conferences are an output of the Solicitation process. D. Bidders conferences are a tool and technique of the Solicitation process.
How do you put a formula in a spreadsheet?
What is union?
Are iterators pointers?
Why does thermal inversion increases air pollution?
How many variables do you need?
How do I fix msvcp110 dll missing in windows 10?