<?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: Project 01</title>
	<atom:link href="https://www.emblogic.com/blog/01/project-01-4/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.emblogic.com/blog/01/project-01-4/</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: Vikram Sharma</title>
		<link>https://www.emblogic.com/blog/01/project-01-4/#comment-3453</link>
		<dc:creator><![CDATA[Vikram Sharma]]></dc:creator>
		<pubDate>Sun, 20 Jan 2013 18:54:44 +0000</pubDate>
		<guid isPermaLink="false">http://emblogic.org/blog/?p=5919#comment-3453</guid>
		<description><![CDATA[I understood your logic Sir, i too had same...But the result of expression ++x &#124;&#124; ++y &amp;&amp; ++z; (with x =-1).is not as this logic.]]></description>
		<content:encoded><![CDATA[<p>I understood your logic Sir, i too had same&#8230;But the result of expression ++x || ++y &amp;&amp; ++z; (with x =-1).is not as this logic.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rahul1989</title>
		<link>https://www.emblogic.com/blog/01/project-01-4/#comment-3442</link>
		<dc:creator><![CDATA[rahul1989]]></dc:creator>
		<pubDate>Sun, 20 Jan 2013 04:13:43 +0000</pubDate>
		<guid isPermaLink="false">http://emblogic.org/blog/?p=5919#comment-3442</guid>
		<description><![CDATA[++x &amp;&amp; ++y &#124;&#124; ++z
The above expression is evaluated on the basis of precedence order.

++(variable) &gt; &amp;&amp; (logical and) &gt; &#124;&#124; (logical or )  precedence order

It means that the expression is evaluated as ((++x &amp;&amp; ++y ) &#124;&#124; ++z))

let assign x =1, y = 2, z = 3
the expression is evaluated as

x = 2, y = 3, z = 3

Note that is NOT evaluated because 
CASE 1 
(value1) &amp;&amp; (value2)
when value1 = 0, The result become 0 either another value2 = 0 or value2 = 1,
so compiler will NOT evaluate other value2 if left side value1 is 0,
the right side value is evaluated only if left side value1 is equal to 1.

CASE 2
 (value1) &#124;&#124; (value2)
when value1 = 1, The result become 0 either another value2 = 1 or value2 = 0,
so compiler will NOT evaluate other value2 if left side value1 is 1,
the right side value is evaluated only if left side value1 is equal to 0.

I hope you got understand.]]></description>
		<content:encoded><![CDATA[<p>++x &amp;&amp; ++y || ++z<br />
The above expression is evaluated on the basis of precedence order.</p>
<p>++(variable) &gt; &amp;&amp; (logical and) &gt; || (logical or )  precedence order</p>
<p>It means that the expression is evaluated as ((++x &amp;&amp; ++y ) || ++z))</p>
<p>let assign x =1, y = 2, z = 3<br />
the expression is evaluated as</p>
<p>x = 2, y = 3, z = 3</p>
<p>Note that is NOT evaluated because<br />
CASE 1<br />
(value1) &amp;&amp; (value2)<br />
when value1 = 0, The result become 0 either another value2 = 0 or value2 = 1,<br />
so compiler will NOT evaluate other value2 if left side value1 is 0,<br />
the right side value is evaluated only if left side value1 is equal to 1.</p>
<p>CASE 2<br />
 (value1) || (value2)<br />
when value1 = 1, The result become 0 either another value2 = 1 or value2 = 0,<br />
so compiler will NOT evaluate other value2 if left side value1 is 1,<br />
the right side value is evaluated only if left side value1 is equal to 0.</p>
<p>I hope you got understand.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deepak garg</title>
		<link>https://www.emblogic.com/blog/01/project-01-4/#comment-3424</link>
		<dc:creator><![CDATA[Deepak garg]]></dc:creator>
		<pubDate>Fri, 18 Jan 2013 12:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://emblogic.org/blog/?p=5919#comment-3424</guid>
		<description><![CDATA[I face same problem as u faced if U get the concept plz explain on the post.]]></description>
		<content:encoded><![CDATA[<p>I face same problem as u faced if U get the concept plz explain on the post.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
