write a C code
to reverse a string using a recursive function, without
swapping or using an extra memory.
Answer Posted / asdf
void reverse(*str)
{
if(*str){
reverse(++str);
str--;
printf("%c",*str);
}
}
| Is This Answer Correct ? | 16 Yes | 9 No |
Post New Answer View All Answers
Whats s or c mean?
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
what is the diffrenet bettwen HTTP and internet protocol
How #define works?
can any one provide me the notes of data structure for ignou cs-62 paper
What is int main () in c?
what is the function of pragma directive in c?
Explain what is wrong in this statement?
What is extern storage class in c?
How to throw some light on the b tree?
What is derived datatype in c?
How arrays can be passed to a user defined function
What is the explanation for cyclic nature of data types in c?
List the difference between a While & Do While loops?
What is null pointer constant?