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
What is define c?
Why is python slower than c?
how to execute a program using if else condition and the output should enter number and the number is odd only...
Was 2000 a leap year?
Is a pointer a kind of array?
How are pointers declared in c?
What is the right type to use for boolean values in c?
What does %d do in c?
How to declare a variable?
why wipro wase
What is a shell structure examples?
What does %p mean c?
What are the two forms of #include directive?
What are keywords in c with examples?
What is ambagious result in C? explain with an example.