<?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: problem</title>
	<atom:link href="https://www.emblogic.com/blog/09/problem/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.emblogic.com/blog/09/problem/</link>
	<description>Embedded System and ARM Training</description>
	<lastBuildDate>Mon, 07 Oct 2013 04:00:03 +0000</lastBuildDate>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.1</generator>
	<item>
		<title>By: jatinder.kumar</title>
		<link>https://www.emblogic.com/blog/09/problem/#comment-4044</link>
		<dc:creator><![CDATA[jatinder.kumar]]></dc:creator>
		<pubDate>Thu, 03 Oct 2013 17:56:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=7178#comment-4044</guid>
		<description><![CDATA[*p get memory as read only. So when you printf(“%c\n”,–*p–); mesn you are goinh to change the contents of read only memory so that why you are getting segmantion fault]]></description>
		<content:encoded><![CDATA[<p>*p get memory as read only. So when you printf(“%c\n”,–*p–); mesn you are goinh to change the contents of read only memory so that why you are getting segmantion fault</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jasmeen.kaur</title>
		<link>https://www.emblogic.com/blog/09/problem/#comment-4037</link>
		<dc:creator><![CDATA[jasmeen.kaur]]></dc:creator>
		<pubDate>Mon, 30 Sep 2013 04:49:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=7178#comment-4037</guid>
		<description><![CDATA[if it is -- then --*p means u are changing the value at adress p(which is readonly) which will give you segmentation fault . 
*p-- means you are decrementing address i.e now it will point to &#039;e&#039;]]></description>
		<content:encoded><![CDATA[<p>if it is &#8212; then &#8211;*p means u are changing the value at adress p(which is readonly) which will give you segmentation fault .<br />
*p&#8211; means you are decrementing address i.e now it will point to &#8216;e&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jasmeen.kaur</title>
		<link>https://www.emblogic.com/blog/09/problem/#comment-4036</link>
		<dc:creator><![CDATA[jasmeen.kaur]]></dc:creator>
		<pubDate>Sun, 29 Sep 2013 17:25:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=7178#comment-4036</guid>
		<description><![CDATA[Can u pls tell what is written before *p in printf statement]]></description>
		<content:encoded><![CDATA[<p>Can u pls tell what is written before *p in printf statement</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ram D</title>
		<link>https://www.emblogic.com/blog/09/problem/#comment-4032</link>
		<dc:creator><![CDATA[Ram D]]></dc:creator>
		<pubDate>Wed, 11 Sep 2013 16:58:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=7178#comment-4032</guid>
		<description><![CDATA[run following code in ur c99 compiler and compaire with the above one

#include
#include

void main()
{
        char *p=&quot;abcdef&quot;;
        for(int i=0;i&lt;=6;i++)
        {
                p = p + (strlen(p)-i);
//              printf(&quot;%c\n&quot;,–*p–);
//              printf(&quot;%c\n&quot;,–*–p);
//              printf(&quot;%c\n&quot;,–*(p–));
                printf(&quot;%p\n&quot;,p);
                printf(&quot;%c\n&quot;,*p);
        }
}]]></description>
		<content:encoded><![CDATA[<p>run following code in ur c99 compiler and compaire with the above one</p>
<p>#include<br />
#include</p>
<p>void main()<br />
{<br />
        char *p=&#8221;abcdef&#8221;;<br />
        for(int i=0;i&lt;=6;i++)<br />
        {<br />
                p = p + (strlen(p)-i);<br />
//              printf(&quot;%c\n&quot;,–*p–);<br />
//              printf(&quot;%c\n&quot;,–*–p);<br />
//              printf(&quot;%c\n&quot;,–*(p–));<br />
                printf(&quot;%p\n&quot;,p);<br />
                printf(&quot;%c\n&quot;,*p);<br />
        }<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
