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
Can true be a variable name in c?
What is the 'named constructor idiom'?
program to convert a integer to string in c language'
Can variables be declared anywhere in c?
What are structure types in C?
Can a local variable be volatile in c?
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?
Process by which one bit pattern in to another by bit wise operation is?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
What is the difference between procedural and declarative language?
I need a sort of an approximate strcmp routine?
Is c easier than java?
How are Structure passing and returning implemented by the complier?
c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above