write a C code
to reverse a string using a recursive function, without
swapping or using an extra memory.
Answer Posted / sampath
void reverse(*str)
{
if(*str)
{
reverse(str+1);
putchar(*str);
}
}
| Is This Answer Correct ? | 58 Yes | 51 No |
Post New Answer View All Answers
Why is structure important for a child?
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
C program to find all possible outcomes of a dice?
What is a nested loop?
What is use of pointer?
Why is c so important?
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
What is define c?
What is ambagious result in C? explain with an example.
Describe newline escape sequence with a sample program?
What is build process in c?
What is null pointer in c?
Explain is it valid to address one element beyond the end of an array?
What is class and object in c?
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?