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 39068C 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 21426What 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 19427What 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 22736Main 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 28570Which 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 17886Post New TCS C Interview Questions
Normally in slabs, steel quantity is not added when you calculating concrete quantity for that slab, why it is not added ?
Which method must be implemented by all threads?
What types of companies are likely to adopt or promote Bluetooth technology?
What are the methods called when a ui component is initialized?
I have 4 four category of emplies say Admn/Markting/Procurment/Production and the employees of thee category have there bank accounts in 5 or six different banks. How can i generate Payroll advice for the employees having account in A Or B OR C Or D falling under above category
Ensuring that Costing Information can be provided
How can you implement speech recognition in Tensorflow ?
What is stax?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
What is GainSpan’s GS2000 Protocol for an Internet of Things (IoT)?
How do edit/modify the property/configuration files?
What is operating system and its examples?
which technology use in bikes
How can we retrieve the total number of records in RPG & CLLE?
What is a CMS (Content Management System)?