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 42894C 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 23925What 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 21844What 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 26894Main 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 34415Which 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 20794Post New TCS C Interview Questions
How to send crash report from device?
What are the different types of filters in power bi reports?
What is spark certification?
How do I fix a dll error in windows 7 64 bit?
[3/28, 20:52] Manoj P Venkatpurwar: how many impurities require to inject in assay specificity that how we can find out? and in Rs also how?
What is the full form of oops?
Is atl redundant in the .net world?
Who is the current CEO of DELL?
How do you edit a table in word?
How do you stop a thread in java?
How to set limits on searches for users and groups ?
what are enumerations in C
Tell me about a time you had to learn a new AI concept or technique quickly.
what is doubling factor in making current of a breaker?
What are filters explain sort with all the options available?