<?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; siddhartha sir</title>
	<atom:link href="https://www.emblogic.com/blog/tag/siddhartha-sir/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>c++ assignment status</title>
		<link>https://www.emblogic.com/blog/08/c-assignment-status-9/</link>
		<comments>https://www.emblogic.com/blog/08/c-assignment-status-9/#comments</comments>
		<pubDate>Sat, 24 Aug 2013 13:55:18 +0000</pubDate>
		<dc:creator><![CDATA[Avtar Singh]]></dc:creator>
				<category><![CDATA[Data Structures with C]]></category>
		<category><![CDATA[siddhartha sir]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=7138</guid>
		<description><![CDATA[i have completed 2 assignment with c++. also practice some program using inline function.]]></description>
				<content:encoded><![CDATA[<p>i have completed 2 assignment with c++.</p>
<p>also practice some program using inline function.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/08/c-assignment-status-9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>E-14 pre-increment and logical operators</title>
		<link>https://www.emblogic.com/blog/08/e-14-pre-increment-and-logical-operators/</link>
		<comments>https://www.emblogic.com/blog/08/e-14-pre-increment-and-logical-operators/#comments</comments>
		<pubDate>Thu, 30 Aug 2012 21:21:49 +0000</pubDate>
		<dc:creator><![CDATA[ayush.gupta]]></dc:creator>
				<category><![CDATA[Data Structures with C]]></category>
		<category><![CDATA[E-14]]></category>
		<category><![CDATA[siddhartha sir]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=5128</guid>
		<description><![CDATA[Initializing x,y,z=1 and after applying operation ++x&#124;&#124;++y&#38;&#38;++z; The values when printed gives: x=2; y=1; and z=1; It increments  the value of x but does not increment the values of y and z.  can anyone please explain why?]]></description>
				<content:encoded><![CDATA[<p><strong>Initializing x,y,z=1 and after applying operation ++x||++y&amp;&amp;++z; The values when printed gives: x=2; y=1; and z=1;</strong><br />
<strong> It increments  the value of x but does not increment the values of y and z.  can anyone please explain why?</strong></p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/08/e-14-pre-increment-and-logical-operators/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>E-12, Assignment 1</title>
		<link>https://www.emblogic.com/blog/08/e-12-assignment-1/</link>
		<comments>https://www.emblogic.com/blog/08/e-12-assignment-1/#comments</comments>
		<pubDate>Sat, 18 Aug 2012 03:12:10 +0000</pubDate>
		<dc:creator><![CDATA[sunil110]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[siddhartha sir]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=4856</guid>
		<description><![CDATA[x=y=1; z=x++-1; z+=-x++ + ++y; printf(&#8220;%d\n&#8221;,x); here x=3; but printf(&#8220;%d\n&#8221;,z); here z=?? and how??]]></description>
				<content:encoded><![CDATA[<p>x=y=1; z=x++-1;<br />
z+=-x++ + ++y;<br />
printf(&#8220;%d\n&#8221;,x); here x=3; but<br />
printf(&#8220;%d\n&#8221;,z); here z=?? and how??</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/08/e-12-assignment-1/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>E14 Star Pattern Using for Loop.</title>
		<link>https://www.emblogic.com/blog/08/e14-star-pattern-using-for-loop/</link>
		<comments>https://www.emblogic.com/blog/08/e14-star-pattern-using-for-loop/#comments</comments>
		<pubDate>Fri, 17 Aug 2012 18:58:56 +0000</pubDate>
		<dc:creator><![CDATA[ayush.gupta]]></dc:creator>
				<category><![CDATA[Data Structures with C]]></category>
		<category><![CDATA[siddhartha sir]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=4847</guid>
		<description><![CDATA[#include&#60;stdio.h&#62; int main () { printf(&#8220;Program to print a pattern of stars.\n&#8221;); int i1,i2,i3,val; printf(&#8220;Enter a number:\n&#8221;); scanf(&#8220;%d&#8221;,&#38;val); for(i1=0;i1&#60;val;i1++) { /*for(i3=val;i3&#62;i1;i3&#8211;) { printf(&#8221; &#8220;); }*/ for(i2=0;i2&#60;=i1;i2++) { printf(&#8220;*&#8221;); } printf(&#8220;\n&#8221;); } return 0; } I tried to print a pattern &#8230; <a href="https://www.emblogic.com/blog/08/e14-star-pattern-using-for-loop/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>#include&lt;stdio.h&gt;<br />
int main ()<br />
{<br />
printf(&#8220;Program to print a pattern of stars.\n&#8221;);<br />
int i1,i2,i3,val;<br />
printf(&#8220;Enter a number:\n&#8221;);<br />
scanf(&#8220;%d&#8221;,&amp;val);<br />
for(i1=0;i1&lt;val;i1++)<br />
{<br />
/*for(i3=val;i3&gt;i1;i3&#8211;)<br />
{<br />
printf(&#8221; &#8220;);<br />
}*/<br />
for(i2=0;i2&lt;=i1;i2++)<br />
{<br />
printf(&#8220;*&#8221;);</p>
<p>}<br />
printf(&#8220;\n&#8221;);<br />
}<br />
return 0;<br />
}</p>
<p>I tried to print a pattern of stars using for loop. The problem i am facing with the logic is that i want to print the following pattern:</p>
<p>*</p>
<p>***</p>
<p>*****</p>
<p>******* /*i.e is odd number of stars to be printed in n number of lines ; Where n is specified by the user;*/ I wanted to print this pattern using for loop only.<br />
anyone wid solution?</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/08/e14-star-pattern-using-for-loop/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>resizing structures as per the number of total bytes declared</title>
		<link>https://www.emblogic.com/blog/07/resizing-structures-as-per-the-number-of-total-bytes-declared/</link>
		<comments>https://www.emblogic.com/blog/07/resizing-structures-as-per-the-number-of-total-bytes-declared/#comments</comments>
		<pubDate>Thu, 26 Jul 2012 14:59:31 +0000</pubDate>
		<dc:creator><![CDATA[shivam.mahajan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[siddhartha sir]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=4001</guid>
		<description><![CDATA[To resize the structure as per the number of total bytes declared in structure we use the #pragma directive. The #pragma pack directive modifies the current alignment rule for members of structures following the directive. syntax: ex&#8211;&#62;#pragma pack(1)]]></description>
				<content:encoded><![CDATA[<p>To resize the structure as per the number of total bytes declared in structure we use the #pragma directive.<br />
The #pragma pack directive modifies the current alignment rule for members of structures following the directive.<br />
syntax: ex&#8211;&gt;#pragma pack(1)</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/07/resizing-structures-as-per-the-number-of-total-bytes-declared/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
