write a program in reverse the string without using
pointer,array,global variable declaration,lib fun only using
a function?
Answer Posted / aravind
#include<stdio.h>
int main()
{
int i;
char a={"Hello"};
for(i=4;i>=0;i--)
printf("revese string=%c",a);
}
| Is This Answer Correct ? | 7 Yes | 32 No |
Post New Answer View All Answers
What does volatile do?
How can I delete a file?
Define recursion in c.
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?
Is the exit() function same as the return statement? Explain.
What is a pointer and how it is initialized?
What is array of structure in c?
What is the difference between formatted&unformatted i/o functions?
What does %c do in c?
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
What is the purpose of clrscr () printf () and getch ()?
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
What is use of null pointer in c?
How pointers are declared?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above