AD (728x90)

GoogleOnline Exam Test Seminar Sparkz IncEasy Link Exchange

Saturday 31 May 2014

Write a C program to determine if the given string is a palindrome or not

Seminars and Jobs information
Share it Please
/* Write a C program to determine if the given string is a palindrome or not */

#include<stdio.h>
#include<string.h>

enum Boolean{false,true};
enum Boolean IsPalindrome(char string[])
{
int left,right,len=strlen(string);
enum Boolean matched=true;
if(len==0)
 return 0;
 left=0;
 right=len-1;
For more Click

Written by

Java Basic Point blog is created for the MCA,M.Tech,B.Tech and Graduate students.So visit and get the benifits from this blog.

0 comments:

Post a Comment

© 2013 Learning Java. All rights resevered. Designed by Templateism