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 42889C 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 23920What 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 21842What 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 26885Main 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 34399Which 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 20791Post New TCS C Interview Questions
How do I make an exe file installed?
Write a program to enter the items in Sharepoint List? and How to add the Users in your Current Site?
what are all the browsers..?
Relate FDDI/ATM/SONET to the OSI model.
Explain features use of magento
hi to all,i done ccna,now im looking job,but it is very diffcult to get job in networking field,.........i dnt know what im doing wrongly,kindly help me and give the proper way...i have so much of interest in this field only
Recent banking question for 2015 interview for scale2 exam of sbm
What are relationships and mention different types of relationships in the dbms
What is the preferred size of a component in java programming?
What is recurring invoices?
what is advantages and disadvantages of vlan?
What's the difference between outlook and outlook com?
What is the ribbon in excel?
Hi All... PLease send me if anyone have "Information Security Officer" Aptitude papers. Please Mail me at mannusanghi@gmail.com
Are floats faster than doubles?