<?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: siddharth sir-problem on precedence</title>
	<atom:link href="https://www.emblogic.com/blog/09/siddharth-sir-problem-on-precedence/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.emblogic.com/blog/09/siddharth-sir-problem-on-precedence/</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: manoj</title>
		<link>https://www.emblogic.com/blog/09/siddharth-sir-problem-on-precedence/#comment-2077</link>
		<dc:creator><![CDATA[manoj]]></dc:creator>
		<pubDate>Mon, 10 Sep 2012 12:53:02 +0000</pubDate>
		<guid isPermaLink="false">http://emblogic.org/blog/?p=5152#comment-2077</guid>
		<description><![CDATA[Hi, 

Other comment is related to the expression..
But if u see, in case of printf(++j,j++,j) then u have to start from Right to left : j=1 (not stored in stack , waiting for the updated value), j++ = 1 (used).. j becomes 2 and then ++j = 3 .. LAst updated value is 3..

So the output is 3,1,3

Cheers..]]></description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>Other comment is related to the expression..<br />
But if u see, in case of printf(++j,j++,j) then u have to start from Right to left : j=1 (not stored in stack , waiting for the updated value), j++ = 1 (used).. j becomes 2 and then ++j = 3 .. LAst updated value is 3..</p>
<p>So the output is 3,1,3</p>
<p>Cheers..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: manoj</title>
		<link>https://www.emblogic.com/blog/09/siddharth-sir-problem-on-precedence/#comment-2076</link>
		<dc:creator><![CDATA[manoj]]></dc:creator>
		<pubDate>Mon, 10 Sep 2012 12:46:15 +0000</pubDate>
		<guid isPermaLink="false">http://emblogic.org/blog/?p=5152#comment-2076</guid>
		<description><![CDATA[Hi shalini,

It is updating... But it will update the values only at the end of the expression..

for eg. : if u use : printf(p++ + p++) nd if p = 5
Then result will be 10.
But in next statement print the value of p . It would have become 7. It is updating but at the end of the expression.

Thanks]]></description>
		<content:encoded><![CDATA[<p>Hi shalini,</p>
<p>It is updating&#8230; But it will update the values only at the end of the expression..</p>
<p>for eg. : if u use : printf(p++ + p++) nd if p = 5<br />
Then result will be 10.<br />
But in next statement print the value of p . It would have become 7. It is updating but at the end of the expression.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shalini singhal</title>
		<link>https://www.emblogic.com/blog/09/siddharth-sir-problem-on-precedence/#comment-2029</link>
		<dc:creator><![CDATA[shalini singhal]]></dc:creator>
		<pubDate>Sat, 08 Sep 2012 07:52:53 +0000</pubDate>
		<guid isPermaLink="false">http://emblogic.org/blog/?p=5152#comment-2029</guid>
		<description><![CDATA[hi manoj,

i am having a query regarding your answer that why is it not updateing value of j++......]]></description>
		<content:encoded><![CDATA[<p>hi manoj,</p>
<p>i am having a query regarding your answer that why is it not updateing value of j++&#8230;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abhijeet.panwar</title>
		<link>https://www.emblogic.com/blog/09/siddharth-sir-problem-on-precedence/#comment-2026</link>
		<dc:creator><![CDATA[abhijeet.panwar]]></dc:creator>
		<pubDate>Sat, 08 Sep 2012 05:43:14 +0000</pubDate>
		<guid isPermaLink="false">http://emblogic.org/blog/?p=5152#comment-2026</guid>
		<description><![CDATA[post increment store the valu 1st and then pass pre increment and final the pass to other valu like(j pass 1 not to store,j++store 1and pass 2, ++j have 3 then final store 3 and pass to j and j also stor 3) all these in stack...]]></description>
		<content:encoded><![CDATA[<p>post increment store the valu 1st and then pass pre increment and final the pass to other valu like(j pass 1 not to store,j++store 1and pass 2, ++j have 3 then final store 3 and pass to j and j also stor 3) all these in stack&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: arjumand</title>
		<link>https://www.emblogic.com/blog/09/siddharth-sir-problem-on-precedence/#comment-1929</link>
		<dc:creator><![CDATA[arjumand]]></dc:creator>
		<pubDate>Tue, 04 Sep 2012 14:54:04 +0000</pubDate>
		<guid isPermaLink="false">http://emblogic.org/blog/?p=5152#comment-1929</guid>
		<description><![CDATA[its due to the property of pre increment operator. It updates the value of j in ++j and j]]></description>
		<content:encoded><![CDATA[<p>its due to the property of pre increment operator. It updates the value of j in ++j and j</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: manoj</title>
		<link>https://www.emblogic.com/blog/09/siddharth-sir-problem-on-precedence/#comment-1926</link>
		<dc:creator><![CDATA[manoj]]></dc:creator>
		<pubDate>Tue, 04 Sep 2012 12:32:43 +0000</pubDate>
		<guid isPermaLink="false">http://emblogic.org/blog/?p=5152#comment-1926</guid>
		<description><![CDATA[Hi,

printf maintains a stack of values to be printed. It does not print each value separately, first it will complete it&#039;s stack than starts printing.

In case of ++j and j printf will store the last updated value in the stack. and for j++ it stores the current value in the stack and then increments it.

now u will be able to solve this.]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>printf maintains a stack of values to be printed. It does not print each value separately, first it will complete it&#8217;s stack than starts printing.</p>
<p>In case of ++j and j printf will store the last updated value in the stack. and for j++ it stores the current value in the stack and then increments it.</p>
<p>now u will be able to solve this.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
