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 39587C 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 21855What 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 19732What 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 23207Main 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 29417Which 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 18444Post New TCS C Interview Questions
How do I split a row in excel?
which of the following is not a guideline for conducting effective usability testing? : Adobe flash
How do you realize Ternary Conditional Operator in Kotlin ?
What is the maximum and minimum length of macro variable
How are standard query operators useful in linq?
what are the goals of sap initiative?
is code completion is active by default in iphone development?
What are the entities that are swapped out of the main memory while swapping the process out of the main memory?
What are the types of subroutines?
How do I show margins in word 2007?
Comparision between Machine Learning and Big Data?
What Are The Three Cost Factors Involves In Cloud Data Center?
What security is provided with microstrategy desktop?
explain what test tools you will need for client server testing
which cl command can be used at program execution to redirect the file named in an rpg program?