<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: To check whether the given string is palindrome-method 2</title>
	<atom:link href="http://electrofriends.com/source-codes/software-programs/c/string-programs/to-check-whether-the-given-string-is-palindrome-method-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://electrofriends.com/source-codes/software-programs/c/string-programs/to-check-whether-the-given-string-is-palindrome-method-2/</link>
	<description>...bringing innovative minds together</description>
	<lastBuildDate>Thu, 09 Feb 2012 18:55:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.6</generator>
	<item>
		<title>By: Ranjeet</title>
		<link>http://electrofriends.com/source-codes/software-programs/c/string-programs/to-check-whether-the-given-string-is-palindrome-method-2/comment-page-1/#comment-6343</link>
		<dc:creator>Ranjeet</dc:creator>
		<pubDate>Wed, 07 Dec 2011 06:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://electrofriends.com/?p=398#comment-6343</guid>
		<description>@ Kaushik

#include 
#include </description>
		<content:encoded><![CDATA[<p>@ Kaushik</p>
<p>#include<br />
#include</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kaushik</title>
		<link>http://electrofriends.com/source-codes/software-programs/c/string-programs/to-check-whether-the-given-string-is-palindrome-method-2/comment-page-1/#comment-6309</link>
		<dc:creator>Kaushik</dc:creator>
		<pubDate>Sun, 04 Dec 2011 04:24:44 +0000</pubDate>
		<guid isPermaLink="false">http://electrofriends.com/?p=398#comment-6309</guid>
		<description>You need to include the header file to get the desired output!#include
#include
#include
main()
{
char a[20];
char b[20];
printf(“enter a string”);
gets(a);
strcpy(b,a);//copies string a to b
strrev(b);//reverses string b
if(strcmp(a,b)==0)//compares if the original and reverse strings are same
printf(“\n%s is a palindrome”,a);
else
printf(“\n%s is not a palindrome”,a);
return 0;
}</description>
		<content:encoded><![CDATA[<p>You need to include the header file to get the desired output!#include<br />
#include<br />
#include<br />
main()<br />
{<br />
char a[20];<br />
char b[20];<br />
printf(“enter a string”);<br />
gets(a);<br />
strcpy(b,a);//copies string a to b<br />
strrev(b);//reverses string b<br />
if(strcmp(a,b)==0)//compares if the original and reverse strings are same<br />
printf(“\n%s is a palindrome”,a);<br />
else<br />
printf(“\n%s is not a palindrome”,a);<br />
return 0;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: deena</title>
		<link>http://electrofriends.com/source-codes/software-programs/c/string-programs/to-check-whether-the-given-string-is-palindrome-method-2/comment-page-1/#comment-6305</link>
		<dc:creator>deena</dc:creator>
		<pubDate>Fri, 02 Dec 2011 06:49:08 +0000</pubDate>
		<guid isPermaLink="false">http://electrofriends.com/?p=398#comment-6305</guid>
		<description>definitely this will work.....thanks to mahesh kumar dewat.

#include
#include//this headel file is important 
main()
{
char a[20];
char b[20];
printf(&quot;enter a string&quot;);
gets(a);
strcpy(b,a);//copies string a to b
strrev(b);//reverses string b
if(strcmp(a,b)==0)//compares if the original and reverse strings are same
printf(&quot;\n%s is a palindrome&quot;,a);
else
printf(&quot;\n%s is not a palindrome&quot;,a);
return 0;
}</description>
		<content:encoded><![CDATA[<p>definitely this will work&#8230;..thanks to mahesh kumar dewat.</p>
<p>#include<br />
#include//this headel file is important<br />
main()<br />
{<br />
char a[20];<br />
char b[20];<br />
printf(&#8220;enter a string&#8221;);<br />
gets(a);<br />
strcpy(b,a);//copies string a to b<br />
strrev(b);//reverses string b<br />
if(strcmp(a,b)==0)//compares if the original and reverse strings are same<br />
printf(&#8220;\n%s is a palindrome&#8221;,a);<br />
else<br />
printf(&#8220;\n%s is not a palindrome&#8221;,a);<br />
return 0;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pradeep</title>
		<link>http://electrofriends.com/source-codes/software-programs/c/string-programs/to-check-whether-the-given-string-is-palindrome-method-2/comment-page-1/#comment-6174</link>
		<dc:creator>pradeep</dc:creator>
		<pubDate>Tue, 08 Nov 2011 08:27:46 +0000</pubDate>
		<guid isPermaLink="false">http://electrofriends.com/?p=398#comment-6174</guid>
		<description>fuck u man u r wrong................both eg are wrong.</description>
		<content:encoded><![CDATA[<p>fuck u man u r wrong&#8230;&#8230;&#8230;&#8230;&#8230;.both eg are wrong.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mahesh kumar dewat</title>
		<link>http://electrofriends.com/source-codes/software-programs/c/string-programs/to-check-whether-the-given-string-is-palindrome-method-2/comment-page-1/#comment-5584</link>
		<dc:creator>Mahesh kumar dewat</dc:creator>
		<pubDate>Sun, 04 Sep 2011 05:48:29 +0000</pubDate>
		<guid isPermaLink="false">http://electrofriends.com/?p=398#comment-5584</guid>
		<description>#include
main()
{
char a[20],b[20];
printf(&quot;enter a string&quot;);
scanf(&quot;%s&quot;,&amp;a);
strcpy(b,a);//copies string a to b
strrev(b);//reverses string b
if(strcmp(a,b)==0)//compares if the original and reverse strings are same
printf(&quot;\n%s is a palindrome&quot;,a);
else
printf(&quot;\n%s is not a palindrome&quot;,a);
return 0;
}</description>
		<content:encoded><![CDATA[<p>#include<br />
main()<br />
{<br />
char a[20],b[20];<br />
printf(&#8220;enter a string&#8221;);<br />
scanf(&#8220;%s&#8221;,&amp;a);<br />
strcpy(b,a);//copies string a to b<br />
strrev(b);//reverses string b<br />
if(strcmp(a,b)==0)//compares if the original and reverse strings are same<br />
printf(&#8220;\n%s is a palindrome&#8221;,a);<br />
else<br />
printf(&#8220;\n%s is not a palindrome&#8221;,a);<br />
return 0;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mahesh kumar dewat</title>
		<link>http://electrofriends.com/source-codes/software-programs/c/string-programs/to-check-whether-the-given-string-is-palindrome-method-2/comment-page-1/#comment-5583</link>
		<dc:creator>Mahesh kumar dewat</dc:creator>
		<pubDate>Sun, 04 Sep 2011 05:47:30 +0000</pubDate>
		<guid isPermaLink="false">http://electrofriends.com/?p=398#comment-5583</guid>
		<description>#include  
#include  
#include 
void main(void)
{
    int i,len,halflen,flag=1;
    char str[50];
    clrscr();
    printf(&quot;Enter a string:\n&quot;);
    gets(str);
    len=strlen(str);
    halflen=len/2;
    for(i=0;i&lt;halflen;i++)
    {
        if(str[i]!=str[i+halflen])
            flag=0;
        break;

    }
    if(flag)
        printf(&quot;It is a Palindrome.&quot;);
    else
        printf(&quot;It is not a Palindrome.&quot;);
    getch();
}</description>
		<content:encoded><![CDATA[<p>#include<br />
#include<br />
#include<br />
void main(void)<br />
{<br />
    int i,len,halflen,flag=1;<br />
    char str[50];<br />
    clrscr();<br />
    printf(&#8220;Enter a string:\n&#8221;);<br />
    gets(str);<br />
    len=strlen(str);<br />
    halflen=len/2;<br />
    for(i=0;i&lt;halflen;i++)<br />
    {<br />
        if(str[i]!=str[i+halflen])<br />
            flag=0;<br />
        break;</p>
<p>    }<br />
    if(flag)<br />
        printf(&quot;It is a Palindrome.&quot;);<br />
    else<br />
        printf(&quot;It is not a Palindrome.&quot;);<br />
    getch();<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: m</title>
		<link>http://electrofriends.com/source-codes/software-programs/c/string-programs/to-check-whether-the-given-string-is-palindrome-method-2/comment-page-1/#comment-5076</link>
		<dc:creator>m</dc:creator>
		<pubDate>Thu, 14 Jul 2011 04:40:33 +0000</pubDate>
		<guid isPermaLink="false">http://electrofriends.com/?p=398#comment-5076</guid>
		<description>Is it raptor compatible ???</description>
		<content:encoded><![CDATA[<p>Is it raptor compatible ???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SUMI</title>
		<link>http://electrofriends.com/source-codes/software-programs/c/string-programs/to-check-whether-the-given-string-is-palindrome-method-2/comment-page-1/#comment-4395</link>
		<dc:creator>SUMI</dc:creator>
		<pubDate>Wed, 23 Feb 2011 16:35:17 +0000</pubDate>
		<guid isPermaLink="false">http://electrofriends.com/?p=398#comment-4395</guid>
		<description>9TH LINE IS USED FOR CALCULATING THE LENGTH OF THE STRING..</description>
		<content:encoded><![CDATA[<p>9TH LINE IS USED FOR CALCULATING THE LENGTH OF THE STRING..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: priya</title>
		<link>http://electrofriends.com/source-codes/software-programs/c/string-programs/to-check-whether-the-given-string-is-palindrome-method-2/comment-page-1/#comment-3840</link>
		<dc:creator>priya</dc:creator>
		<pubDate>Mon, 24 Jan 2011 13:43:35 +0000</pubDate>
		<guid isPermaLink="false">http://electrofriends.com/?p=398#comment-3840</guid>
		<description>last program is working.easy to enderstand</description>
		<content:encoded><![CDATA[<p>last program is working.easy to enderstand</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: noel</title>
		<link>http://electrofriends.com/source-codes/software-programs/c/string-programs/to-check-whether-the-given-string-is-palindrome-method-2/comment-page-1/#comment-3100</link>
		<dc:creator>noel</dc:creator>
		<pubDate>Mon, 02 Aug 2010 17:29:15 +0000</pubDate>
		<guid isPermaLink="false">http://electrofriends.com/?p=398#comment-3100</guid>
		<description>i couldn&#039;t understand the following part:
for(j=0;str[j]!=&quot; &quot;;j++)
j=j--;
i=0</description>
		<content:encoded><![CDATA[<p>i couldn&#8217;t understand the following part:<br />
for(j=0;str[j]!=&#8221; &#8220;;j++)<br />
j=j&#8211;;<br />
i=0</p>
]]></content:encoded>
	</item>
</channel>
</rss>

