<?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 reverse the given string using pointer</title>
	<atom:link href="http://electrofriends.com/source-codes/software-programs/c/string-programs/to-reverse-the-given-string-using-pointer/feed/" rel="self" type="application/rss+xml" />
	<link>http://electrofriends.com/source-codes/software-programs/c/string-programs/to-reverse-the-given-string-using-pointer/</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: Gaurav Sharma</title>
		<link>http://electrofriends.com/source-codes/software-programs/c/string-programs/to-reverse-the-given-string-using-pointer/comment-page-1/#comment-5194</link>
		<dc:creator>Gaurav Sharma</dc:creator>
		<pubDate>Mon, 01 Aug 2011 06:30:47 +0000</pubDate>
		<guid isPermaLink="false">http://electrofriends.com/?p=412#comment-5194</guid>
		<description>correction in above code is:
while( *(str+len) != &#039;&#039; ) len++;</description>
		<content:encoded><![CDATA[<p>correction in above code is:<br />
while( *(str+len) != &#8221; ) len++;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gaurav Sharma</title>
		<link>http://electrofriends.com/source-codes/software-programs/c/string-programs/to-reverse-the-given-string-using-pointer/comment-page-1/#comment-5193</link>
		<dc:creator>Gaurav Sharma</dc:creator>
		<pubDate>Mon, 01 Aug 2011 06:11:27 +0000</pubDate>
		<guid isPermaLink="false">http://electrofriends.com/?p=412#comment-5193</guid>
		<description>void main(void)
{
	uchar *str &quot;ABCDE&quot;;
	uchar len;
	uchar newidex = 0;
	
	len=0;
	while( *str != &#039;&#039; ) len++;
	
	str = revstr(str, len, newidex);
	PRINT(str);
}

uint* revstr(uchar *str, uchar len, uchar &amp;index)
{
	   uchar *b;
	   
	   if(len==0)
	   {
	     return b;
	   }
	   else
	   {
	     b[index++] = str[len];
	     revstr( str, len-1, index );
	   } 
}</description>
		<content:encoded><![CDATA[<p>void main(void)<br />
{<br />
	uchar *str &#8220;ABCDE&#8221;;<br />
	uchar len;<br />
	uchar newidex = 0;</p>
<p>	len=0;<br />
	while( *str != &#8221; ) len++;</p>
<p>	str = revstr(str, len, newidex);<br />
	PRINT(str);<br />
}</p>
<p>uint* revstr(uchar *str, uchar len, uchar &amp;index)<br />
{<br />
	   uchar *b;</p>
<p>	   if(len==0)<br />
	   {<br />
	     return b;<br />
	   }<br />
	   else<br />
	   {<br />
	     b[index++] = str[len];<br />
	     revstr( str, len-1, index );<br />
	   }<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: esha</title>
		<link>http://electrofriends.com/source-codes/software-programs/c/string-programs/to-reverse-the-given-string-using-pointer/comment-page-1/#comment-4852</link>
		<dc:creator>esha</dc:creator>
		<pubDate>Mon, 02 May 2011 05:48:30 +0000</pubDate>
		<guid isPermaLink="false">http://electrofriends.com/?p=412#comment-4852</guid>
		<description>char *s1;
gets(s1);

this is not correct as s1 is not initialized. its giving segmentation fault.</description>
		<content:encoded><![CDATA[<p>char *s1;<br />
gets(s1);</p>
<p>this is not correct as s1 is not initialized. its giving segmentation fault.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kamal</title>
		<link>http://electrofriends.com/source-codes/software-programs/c/string-programs/to-reverse-the-given-string-using-pointer/comment-page-1/#comment-103</link>
		<dc:creator>kamal</dc:creator>
		<pubDate>Sat, 24 Jan 2009 05:18:26 +0000</pubDate>
		<guid isPermaLink="false">http://electrofriends.com/?p=412#comment-103</guid>
		<description>i need codes for yours projects 
so please send me full details
don&#039;t forget me 
thank uuuuuuuuuuuuuuuuuuuuu</description>
		<content:encoded><![CDATA[<p>i need codes for yours projects<br />
so please send me full details<br />
don&#8217;t forget me<br />
thank uuuuuuuuuuuuuuuuuuuuu</p>
]]></content:encoded>
	</item>
</channel>
</rss>

