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 43207C 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 24105What 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 22046What 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 27278Main 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 34942Which 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 21038Post New TCS C Interview Questions
Why union all is faster than union?
Why must I deploy an exchange 2007 server that has the hub transport server role installed in the same active directory site in which I deployed an exchange 2007 server that has the unified messaging (um) server role installed?
What is a view in web dynpro application?
How to deploy SilverLight Web part in Sharepoint 2010?
what are set operators in sql? : Sql dba
What are the relational operators available related to combining and splitting in pig language?
What is the license?
i want to insert textbox value to sql db. i have only one text box but store four values. ple give any one give sample code in asp.net c#..
y do v use single anteena in radar any other reason except cost???
What is data node in mysql cluster?
Explain the mechanism of elisa. What are its uses?
How do I restore?
What is name mangling/name decoration?
What is partitioning and what are the benefits of partitioning in an infocube?
What are the data administration portal and Power BI individual door?