<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: String Reversal</title>
	<link>http://www.openasthra.com/c-tidbits/string-reversal/</link>
	<description>C/C++ Programming Blog</description>
	<pubDate>Sun, 06 Jul 2008 20:19:51 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: ponnada</title>
		<link>http://www.openasthra.com/c-tidbits/string-reversal/#comment-59</link>
		<dc:creator>ponnada</dc:creator>
		<pubDate>Tue, 20 Feb 2007 06:23:46 +0000</pubDate>
		<guid>http://www.openasthra.com/c-tidbits/string-reversal/#comment-59</guid>
		<description>I've written the above program (which is in comment section) as a part of palindrome checker for one of my client in a freelancing site..</description>
		<content:encoded><![CDATA[<p>I&#8217;ve written the above program (which is in comment section) as a part of palindrome checker for one of my client in a freelancing site..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ponnada</title>
		<link>http://www.openasthra.com/c-tidbits/string-reversal/#comment-58</link>
		<dc:creator>ponnada</dc:creator>
		<pubDate>Tue, 20 Feb 2007 06:21:06 +0000</pubDate>
		<guid>http://www.openasthra.com/c-tidbits/string-reversal/#comment-58</guid>
		<description>Here is one more algo for string reversal using recursive function... this program is slightly different than Vijoeyz's version but similar and does the same thing....

int string_reverse(const char * src, char *dst) 
{ 
  int len; 
  
  if (*src == '') 
  {
    return 0; 
  }
 
  len = string_reverse(src + 1, dst); 
  *(dst + len) = *src; 

  return len + 1; 
}</description>
		<content:encoded><![CDATA[<p>Here is one more algo for string reversal using recursive function&#8230; this program is slightly different than Vijoeyz&#8217;s version but similar and does the same thing&#8230;.</p>
<p>int string_reverse(const char * src, char *dst)<br />
{<br />
  int len; </p>
<p>  if (*src == &#8221;)<br />
  {<br />
    return 0;<br />
  }</p>
<p>  len = string_reverse(src + 1, dst);<br />
  *(dst + len) = *src; </p>
<p>  return len + 1;<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
