<?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; hemant.kumar</title>
	<atom:link href="https://www.emblogic.com/blog/author/hemant-kumar/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></title>
		<link>https://www.emblogic.com/blog/08/4580/</link>
		<comments>https://www.emblogic.com/blog/08/4580/#comments</comments>
		<pubDate>Wed, 08 Aug 2012 20:43:51 +0000</pubDate>
		<dc:creator><![CDATA[hemant.kumar]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=4580</guid>
		<description><![CDATA[int arr[256]={0}; int c; while((c=getchar())!=&#8217;\n&#8217;) arr[c]=1; printf(&#8220;%c \n&#8221;,c); //printable characters for(c=32;c&#60;127;c++) { if(arr[c]) putchar(c); } i have made this but not able to understand this code what&#8217;s happeninf actually]]></description>
				<content:encoded><![CDATA[<p>int arr[256]={0};<br />
int c;<br />
while((c=getchar())!=&#8217;\n&#8217;)<br />
arr[c]=1;<br />
printf(&#8220;%c \n&#8221;,c);<br />
//printable characters<br />
for(c=32;c&lt;127;c++)<br />
{<br />
if(arr[c])<br />
putchar(c);<br />
}<br />
i have made this but not able to understand this code what&#8217;s happeninf actually</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/08/4580/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>LINKED LIST</title>
		<link>https://www.emblogic.com/blog/07/linked-list-2/</link>
		<comments>https://www.emblogic.com/blog/07/linked-list-2/#comments</comments>
		<pubDate>Sun, 22 Jul 2012 08:11:16 +0000</pubDate>
		<dc:creator><![CDATA[hemant.kumar]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=4122</guid>
		<description><![CDATA[#include&#60;stdio.h&#62; #include&#60;stdlib.h&#62; struct node { int data; struct node *next; }; typedef struct node item; void main() { item *head[10]; int i; for(i=0;i&#60;10;i++) { head[i]=malloc(sizeof(struct node)); head[i]-&#62;data=i+5; head[i]-&#62;next=head[i+1]; } head[10]=NULL; for(i=0;i&#60;10;i++) { printf(&#8220;Address of head[%d] is %p and value is &#8230; <a href="https://www.emblogic.com/blog/07/linked-list-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>#include&lt;stdio.h&gt;<br />
#include&lt;stdlib.h&gt;</p>
<p>struct node<br />
{<br />
int data;<br />
struct node *next;<br />
};<br />
typedef struct node item;<br />
void main()<br />
{<br />
item *head[10];</p>
<p>int i;<br />
for(i=0;i&lt;10;i++)<br />
{<br />
head[i]=malloc(sizeof(struct node));<br />
head[i]-&gt;data=i+5;<br />
head[i]-&gt;next=head[i+1];<br />
}</p>
<p>head[10]=NULL;</p>
<p>for(i=0;i&lt;10;i++)<br />
{<br />
printf(&#8220;Address of head[%d] is %p and value is %d\n&#8221;,i,&amp;head[i],head[i]-&gt;data);<br />
}<br />
}<br />
its executing but am confused can smone tell me ??</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/07/linked-list-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Shuts down</title>
		<link>https://www.emblogic.com/blog/07/shuts-down/</link>
		<comments>https://www.emblogic.com/blog/07/shuts-down/#comments</comments>
		<pubDate>Thu, 05 Jul 2012 06:46:50 +0000</pubDate>
		<dc:creator><![CDATA[hemant.kumar]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=3797</guid>
		<description><![CDATA[Sir,  computer shuts down so frequently and showing instat error  &#8230; .. should i format ?? &#160;]]></description>
				<content:encoded><![CDATA[<p>Sir,  computer shuts down so frequently</p>
<p>and showing instat error  &#8230; ..</p>
<p>should i format ??</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/07/shuts-down/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>BIT_FIELDS</title>
		<link>https://www.emblogic.com/blog/07/bit_fields/</link>
		<comments>https://www.emblogic.com/blog/07/bit_fields/#comments</comments>
		<pubDate>Sun, 01 Jul 2012 17:15:08 +0000</pubDate>
		<dc:creator><![CDATA[hemant.kumar]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=3524</guid>
		<description><![CDATA[#include #include #include union { int index; struct { unsigned int x : 1; unsigned int y : 1; unsigned int z : 2; } bits; } number; int main() { for (number.index = 0; number.index &#60; 20; number.index++) { &#8230; <a href="https://www.emblogic.com/blog/07/bit_fields/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>#include<br />
#include<br />
#include</p>
<p>union<br />
{<br />
        int index;<br />
        struct<br />
        {<br />
        unsigned int x : 1;<br />
        unsigned int y : 1;<br />
        unsigned int z : 2;</p>
<p>        } bits;<br />
} number;</p>
<p>int main()<br />
{<br />
        for (number.index = 0; number.index &lt; 20; number.index++)<br />
        {<br />
                printf(&quot;index = %d, bits = %d %d %d\n&quot;, number.index,number.bits.z, number.bits.y, number.bits.x);<br />
        }</p>
<p>return 0;<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/07/bit_fields/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title></title>
		<link>https://www.emblogic.com/blog/06/3418/</link>
		<comments>https://www.emblogic.com/blog/06/3418/#comments</comments>
		<pubDate>Sun, 24 Jun 2012 18:17:52 +0000</pubDate>
		<dc:creator><![CDATA[hemant.kumar]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=3418</guid>
		<description><![CDATA[#include int main() { int i,k; for(k=1;k&#60;=10;k++) { i=getchar(); putchaar(i); return 0; } //my doubt is&#8230;Why loop is executing 5 times instead of 10&#8230;]]></description>
				<content:encoded><![CDATA[<p>#include<br />
int main()<br />
{<br />
 int i,k;<br />
for(k=1;k&lt;=10;k++)<br />
{<br />
i=getchar();<br />
putchaar(i);<br />
return 0;<br />
}</p>
<p>//my doubt is&#8230;Why loop is executing 5 times instead of 10&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/06/3418/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>while( (c=getchar())!= EOF)</title>
		<link>https://www.emblogic.com/blog/02/while-cgetchar-eof/</link>
		<comments>https://www.emblogic.com/blog/02/while-cgetchar-eof/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 17:46:14 +0000</pubDate>
		<dc:creator><![CDATA[hemant.kumar]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=1913</guid>
		<description><![CDATA[sir not able to get this&#8230;.]]></description>
				<content:encoded><![CDATA[<p>sir not able to get this&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/02/while-cgetchar-eof/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
