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
How can I read a binary data file properly?
how to execute a program using if else condition and the output should enter number and the number is odd only...
What functions are used for dynamic memory allocation in c language?
What are unions in c?
What is an operator?
any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above
What is the most efficient way to store flag values?
How to explain the final year project as a fresher please answer with sample project
What is function prototype in c language?
Explain what is the purpose of "extern" keyword in a function declaration?
What is ## preprocessor operator in c?
What is include directive in c?
What are the advantages of external class?
what is the difference between 123 and 0123 in c?
What are the features of c languages?