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 the code in while loop that returns the output of given code?
How are variables declared in c?
What are local static variables?
What is the use of parallelize in spark?
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
How can you allocate arrays or structures bigger than 64K?
find out largest elemant of diagonalmatrix
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor
What is the process of writing the null pointer?
What is the size of structure pointer in c?
Why doesnt the call scanf work?
Is exit(status) truly equivalent to returning the same status from main?
Is linux written 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
How can I automatically locate a programs configuration files in the same directory as the executable?