How do you determine if a string is a palindrome?



How do you determine if a string is a palindrome?..

Answer / glibwaresoftsolutions

When the order of the characters in a string is reversed and the string remains unchanged, it is called a palindrome.
One way to accomplish this is to first reverse the original string and then determine whether the reversed string is identical to the original string.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

What is the real difference between arrays and pointers?

27 Answers   Hexaware, Logic Pro, TCS,


What is variable in c example?

0 Answers  


What is clrscr in c?

0 Answers  


How can my program discover the complete pathname to the executable from which it was invoked?

0 Answers  


what is the use of call back function in c?tell me with example

2 Answers   Bosch,






What is c basic?

0 Answers  


What is the Difference between Class and Struct?

10 Answers   Motorola,


Differentiate between Macro and ordinary definition.

0 Answers   Motorola,


What is linear search?

0 Answers  


Magic square

0 Answers  


How would you write qsort?

1 Answers  


how can i include my own .h file EX:- alex.h like #include<alex.h>, rather than #include"alex.h"

1 Answers  


Categories