Answer Posted / vamsi
#include<stdio.h>
#include<conio.h>
void main()
{
char a[40],temp;
int count=0;
printf("enter the string :");
gets(a);
for(int i=40;a[i]!=a[1];i--)
printf (a[i]);
printf (a[1]);
}
| Is This Answer Correct ? | 1 Yes | 9 No |
Post New Answer View All Answers
Where are the auto variables stored?
find out largest elemant of diagonalmatrix
What does char * * argv mean in c?
What is meant by preprocessor in c?
How can a string be converted to a number?
What is null pointer in c?
Is c easy to learn?
What is #define?
Explain how can you avoid including a header more than once?
What is the function of volatile in c language?
What is putchar() function?
What is the main difference between calloc () and malloc ()?
In a switch statement, explain what will happen if a break statement is omitted?
How do we make a global variable accessible across files? Explain the extern keyword?
Can main () be called recursively?