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 39416C 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 21696What 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 19645What 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 23041Main 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 29138Which 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 18289Post New TCS C Interview Questions
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university
Where do we use decode and case statements?
Which type of transformer is used for lighting loads?
What is lightning connect ?
Types of (Open Shortest Path First) Link State Advertisements (LSAs)?
You want to configure the local and global setting of cua. Where would you do that? What would happen if you have inconsistent settings?
How can I compress a pdf file?
What is drivermanagerdatasource in spring?
What are base tables of an aggregate object?
What is base html in django?
how do we calculate lux for museum building? what is the procedure?
How do you optimize a stored procedure query?
How to do performance testing in tableau?
What is an excel template?
Is intel core i5 64 bit or 32 bit?