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 43521C 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 24293What 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 22222What 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 27642Main 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 35449Which 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 21255Post New TCS C Interview Questions
How do you put a background on powerpoint 2007?
Which containers use a border Layout as their default layout in swing?
* i completed gratuation BBA but i passed 50% marks and i will give bank exam its valiad for bank
i want to wearies heads under direct expenses and indirect expenses
what are the different topics cvered in marketing paper
What is your Future Plans for the Company if Permanently Employed?
What is critical column?
What do you know about interrupt?
What is the first file that gets loaded when you run a application using yii?
Give a definition of plant (in sap).
What is a feedback?
What is the purpose of a buffer register in reference to 8085?
What is an objective description?
What is the difference between "revocable beneficiary" and "irrevocable beneficiary"? : insurance sales
Why is block size set to 128 MB in Hadoop HDFS?