<?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: why array starts with 0 index?</title>
	<atom:link href="https://www.emblogic.com/blog/10/why-array-starts-with-0-index/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.emblogic.com/blog/10/why-array-starts-with-0-index/</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: shyam</title>
		<link>https://www.emblogic.com/blog/10/why-array-starts-with-0-index/#comment-296</link>
		<dc:creator><![CDATA[shyam]]></dc:creator>
		<pubDate>Tue, 04 Oct 2011 04:48:39 +0000</pubDate>
		<guid isPermaLink="false">http://emblogic.org/blog/?p=956#comment-296</guid>
		<description><![CDATA[it is due to the ease of calculation that our compiler do in calculating the addtess is nth index....
(start add.)+index*sizeof(int)...if it nis an integer array...
for first-index=0;
for 2nd index=1;]]></description>
		<content:encoded><![CDATA[<p>it is due to the ease of calculation that our compiler do in calculating the addtess is nth index&#8230;.<br />
(start add.)+index*sizeof(int)&#8230;if it nis an integer array&#8230;<br />
for first-index=0;<br />
for 2nd index=1;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mandeeshc</title>
		<link>https://www.emblogic.com/blog/10/why-array-starts-with-0-index/#comment-292</link>
		<dc:creator><![CDATA[mandeeshc]]></dc:creator>
		<pubDate>Mon, 03 Oct 2011 19:09:44 +0000</pubDate>
		<guid isPermaLink="false">http://emblogic.org/blog/?p=956#comment-292</guid>
		<description><![CDATA[The index of array, which is of the form a[i], is converted by the compiler in the form [a+i]. So, the index of first element is zero because [a+0] will give &#039;a&#039; &amp; the first array element can be accessed. Due to this, we can also access the array elements as&#039;i[a]&#039; instead of &#039;a[i]&#039; , &amp; 
this will not produce an error. 
More so, because the Binary Count used by Computers always starts from 0. Lets say we have a 3 bit value.
It&#039;ll be something of this sought, 
000 --&gt; 0
001 --&gt; 1 and so on .. .]]></description>
		<content:encoded><![CDATA[<p>The index of array, which is of the form a[i], is converted by the compiler in the form [a+i]. So, the index of first element is zero because [a+0] will give &#8216;a&#8217; &amp; the first array element can be accessed. Due to this, we can also access the array elements as&#8217;i[a]&#8216; instead of &#8216;a[i]&#8216; , &amp;<br />
this will not produce an error.<br />
More so, because the Binary Count used by Computers always starts from 0. Lets say we have a 3 bit value.<br />
It&#8217;ll be something of this sought,<br />
000 &#8211;&gt; 0<br />
001 &#8211;&gt; 1 and so on .. .</p>
]]></content:encoded>
	</item>
</channel>
</rss>
