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 42888C 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 23919What 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 21842What 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 26883Main 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 34393Which 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 20789Post New TCS C Interview Questions
What are Excise Duty rates for Fin.Year 2009-10 for Pesticides and Chemicals Industries.
What are the benefits of blockchain?
When we are using queries instead of scripting?
what are the plc application in engineering.??
What does s mean in regex?
Explain the thress bms options?
Explain how ‘human elements’ are organized in sap sd
What is bean in spring?
Different running modes for running Pig?
Is a class subclass of itself?
Tell me how will you create a striped progress bar using bootstrap?
Dear Experts, I want to know the particular customers consignment delivery documents only not other than that i do not want the normal delivery how can we get only the consignment stock of delivery docs created for the customer.
Can I Get A Credit Card After Bankruptcy?
What does arraylist remove return?
Explain the jsp:setProperty action.