write a program in reverse the string without using
pointer,array,global variable declaration,lib fun only using
a function?
Answer Posted / r.s.guptha
void reverse()
{
char c = getchar();
if(c=='\n' || c=='\r')
return;
else
reverse();
putchar(c);
}
int main()
{
reverse();
return 0;
}
Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this
What should malloc() do? Return a null pointer or a pointer to 0 bytes?
Why do we use c for the speed of light?
What does the && operator do in a program code?
formula to convert 2500mmh2o into m3/hr
How are portions of a program disabled in demo versions?
What is indirection? How many levels of pointers can you have?
What is I ++ in c programming?
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
What is the difference between the = symbol and == symbol?
How can I sort more data than will fit in memory?
Why is void main used?
how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....
What is bubble sort technique in c?
Can we change the value of #define in c?