<?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: Inside structure declaration of variable of same type is not allowed</title>
	<atom:link href="https://www.emblogic.com/blog/10/inside-structure-declaration-of-variable-of-same-type-is-not-allowed/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.emblogic.com/blog/10/inside-structure-declaration-of-variable-of-same-type-is-not-allowed/</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: Ankit.e1</title>
		<link>https://www.emblogic.com/blog/10/inside-structure-declaration-of-variable-of-same-type-is-not-allowed/#comment-65</link>
		<dc:creator><![CDATA[Ankit.e1]]></dc:creator>
		<pubDate>Tue, 19 Oct 2010 21:37:41 +0000</pubDate>
		<guid isPermaLink="false">http://emblogic.org/blog/?p=227#comment-65</guid>
		<description><![CDATA[See it this way.. When we declare a pointer it tells the compiler to allocate space for the pointer, which is of structure type in your case it&#039;s self referential.

But if you take a variable same as the structure it will have an endless chain. Let The struct that you have declared be allocated memory. Then that space will be having a pointer and a variable of the same struct type be it x. But x must also be having a pointer and a stuct variable of its type, thus it will create an endless chain.... Hence tis type of declaration is only imaginary :)]]></description>
		<content:encoded><![CDATA[<p>See it this way.. When we declare a pointer it tells the compiler to allocate space for the pointer, which is of structure type in your case it&#8217;s self referential.</p>
<p>But if you take a variable same as the structure it will have an endless chain. Let The struct that you have declared be allocated memory. Then that space will be having a pointer and a variable of the same struct type be it x. But x must also be having a pointer and a stuct variable of its type, thus it will create an endless chain&#8230;. Hence tis type of declaration is only imaginary <img src="https://www.emblogic.com/blog/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
