write program for palindrome
Answer Posted / aishwarya
/*using pointers*/
main()
{
char str[]="MalyalaM";
char *s;
s=str+8;
while(s>=str)
{
printf("%c",*s);
s--;
}
}
| Is This Answer Correct ? | 10 Yes | 18 No |
Post New Answer View All Answers
What does std :: flush do?
what are the iterator and generic algorithms.
Is c++ the hardest language?
How the virtual functions maintain the call up?
What is a c++ vector?
What is recursion?
Why are arrays usually processed with for loop?
What are maps in c++?
How does com provide language transparency?
What is the maximum combined length of command line arguments including the space between adjacent arguments?
What are the various access specifiers in c++?
What is array in c++ example?
How long it will take to learn c++?
Differentiate between an inspector and a mutator ?
What are the four partitions in which c++ compiler divides the ram?