<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>EmbLogic &#187; pk8981</title>
	<atom:link href="https://www.emblogic.com/blog/author/pk8981/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.emblogic.com/blog</link>
	<description>Embedded System and ARM Training</description>
	<lastBuildDate>Tue, 03 Mar 2020 13:00:06 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.1</generator>
	<item>
		<title>e-14</title>
		<link>https://www.emblogic.com/blog/08/e-14/</link>
		<comments>https://www.emblogic.com/blog/08/e-14/#comments</comments>
		<pubDate>Fri, 31 Aug 2012 12:41:16 +0000</pubDate>
		<dc:creator><![CDATA[pk8981]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=5142</guid>
		<description><![CDATA[ptr=&#8221;Hello&#8221; for(i=0;i&#60;strlen(ptr);i++) { printf(&#8220;default address:%p and it is pointing at %d whose address is : %p and value at this address is %c &#8220;,&#38;ptr,i,ptr,*ptr); ptr++ } when executing the above loop printf command only prints &#8220;Hel&#8221; instead of &#8220;Hello&#8221;. why &#8230; <a href="https://www.emblogic.com/blog/08/e-14/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>ptr=&#8221;Hello&#8221;<br />
for(i=0;i&lt;strlen(ptr);i++)</p>
<p>{<br />
printf(&#8220;default address:%p and it is pointing at %d whose address is : %p and value at this address is %c &#8220;,&amp;ptr,i,ptr,*ptr);</p>
<p>ptr++</p>
<p>}<br />
when executing the above loop printf command only prints &#8220;Hel&#8221; instead of &#8220;Hello&#8221;.<br />
why is the string length decreasing with progressing of the loop?</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/08/e-14/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
