<?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>Complete Tutorial of Numeric Array Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/complete-tutorial-of-numeric-array/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/complete-tutorial-of-numeric-array/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Wed, 04 Aug 2021 13:34:32 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>Complete Tutorial of Numeric Array</title>
		<link>https://www.scmgalaxy.com/tutorials/complete-tutorial-of-numeric-array/</link>
					<comments>https://www.scmgalaxy.com/tutorials/complete-tutorial-of-numeric-array/#respond</comments>
		
		<dc:creator><![CDATA[Ashwani Kumar]]></dc:creator>
		<pubDate>Wed, 04 Aug 2021 13:34:30 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[Complete Tutorial]]></category>
		<category><![CDATA[Complete Tutorial of Arrays]]></category>
		<category><![CDATA[Complete Tutorial of Numeric Array]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[How to declare and initialize an array]]></category>
		<category><![CDATA[Numeric Array]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[What]]></category>
		<category><![CDATA[What is Numeric Array]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7412</guid>

					<description><![CDATA[<p>What is Numeric Array? Numeric arrays allow us to store numerous values of the same data type in a single [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/complete-tutorial-of-numeric-array/">Complete Tutorial of Numeric Array</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">What is Numeric Array?</h3>



<p class="wp-block-paragraph">Numeric arrays allow us to store numerous values of the same data type in a single variable rather than creating multiple variables for each value. These values can then be accessed using an index, which is always a number in numeric arrays.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img fetchpriority="high" decoding="async" width="652" height="372" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-34.png" alt="" class="wp-image-7414" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-34.png 652w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-34-300x171.png 300w" sizes="(max-width: 652px) 100vw, 652px" /></figure></div>



<h3 class="wp-block-heading">How to declare and initialize an array?</h3>



<p class="wp-block-paragraph">There are two ways to create an array. Let’s take a look at both these ways in the Following example:</p>



<script src="https://gist.github.com/AdarshAshwani/fae817aba55920fb3d8a175fc86cf592.js"></script>



<h4 class="wp-block-heading">1. Accessing the elements</h4>



<p class="wp-block-paragraph">You must know the index value of an array&#8217;s items in order to access them.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img decoding="async" width="638" height="295" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-33.png" alt="" class="wp-image-7413" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-33.png 638w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-33-300x139.png 300w" sizes="(max-width: 638px) 100vw, 638px" /></figure></div>



<p class="wp-block-paragraph"><strong>Example:-</strong></p>



<script src="https://gist.github.com/AdarshAshwani/e876567a90eaf1c20a4f0f8b85c42b34.js"></script>



<h4 class="wp-block-heading">2. Length of an array</h4>



<p class="wp-block-paragraph">The in-built function <code><strong><span class="has-inline-color has-vivid-red-color">count </span></strong></code>can be used to count the length of an array, or the number of elements in the array.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img decoding="async" width="549" height="338" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-35.png" alt="" class="wp-image-7415" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-35.png 549w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-35-300x185.png 300w" sizes="(max-width: 549px) 100vw, 549px" /></figure></div>



<p class="wp-block-paragraph"><strong>Example:-</strong></p>



<script src="https://gist.github.com/AdarshAshwani/131b4c66bed53abd0c48f3b0404710ce.js"></script>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/complete-tutorial-of-numeric-array/">Complete Tutorial of Numeric Array</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/complete-tutorial-of-numeric-array/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
