<?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>EmbLogic &#187; sheenamonga93</title>
	<atom:link href="https://www.emblogic.com/blog/author/sheenamonga93/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.emblogic.com/blog</link>
	<description>Embedded System and ARM Training</description>
	<lastBuildDate>Tue, 03 Mar 2020 13:00:06 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.1</generator>
	<item>
		<title>structure.</title>
		<link>https://www.emblogic.com/blog/02/structure-2/</link>
		<comments>https://www.emblogic.com/blog/02/structure-2/#comments</comments>
		<pubDate>Sun, 23 Feb 2014 08:30:51 +0000</pubDate>
		<dc:creator><![CDATA[sheenamonga93]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=8553</guid>
		<description><![CDATA[structure- we can say that it is user defined array but it contains diff data types in a continuous memory location. syntax- struct name &#8212; user defined data type { type1 element1; type2 element2; }; struct name variable; &#8211;to allocate &#8230; <a href="https://www.emblogic.com/blog/02/structure-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>structure- we can say that it is user defined array but it contains diff data types in a continuous memory location.<br />
syntax-<br />
struct name &#8212; user defined data type<br />
{<br />
type1 element1;<br />
type2 element2;</p>
<p>};<br />
struct name variable; &#8211;to allocate space<br />
To access elements<br />
there are two methods to access elements<br />
a.) when structure variable is used.<br />
an operator scope resolution operator( . ) is used.<br />
variable.element;<br />
b.) when structure pointer is used.<br />
first of all we must allocate memory to the pointer which can be done by using malloc.<br />
But typecasting is reqired.<br />
pointer name = (struct name *)malloc(sizeof(struct name));<br />
( struct name *) is used for type casting.<br />
operator (-&gt;) is used to access elements.<br />
pointer-&gt;element;</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/02/structure-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
