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 do you mean by stack unwinding in c++?
Which header file allows file i/o with streams a) fileio.h b) iostream.h c) fstream.h
How can I learn dev c++ programming?
Define virtual constructor.
Differentiate between the message and method in c++?
What is the difference between prefix and postfix versions of operator++()?
What is meant by entry controlled loop? What all C++ loops are exit controlled?
What is the use of cmath in c++?
What are references in c++? What is a local reference?
Explain the concept of friend function in c++?
How do you compile the source code with your compiler?
Can you declare an array without a size in c++?
Is c++ the best programming language?
What is the difference between mutex and binary semaphore?
What is class definition in c++ ?