<?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; anu.bala</title>
	<atom:link href="https://www.emblogic.com/blog/author/anu-bala/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>srand &amp;rand</title>
		<link>https://www.emblogic.com/blog/03/srand-rand/</link>
		<comments>https://www.emblogic.com/blog/03/srand-rand/#comments</comments>
		<pubDate>Wed, 26 Mar 2014 04:08:51 +0000</pubDate>
		<dc:creator><![CDATA[anu.bala]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=9481</guid>
		<description><![CDATA[please tell how rand &#38; srand function work.]]></description>
				<content:encoded><![CDATA[<p>please tell how rand &amp; srand function work.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/03/srand-rand/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SIMPLEX TYPE CODE OF BINARY SEARCH</title>
		<link>https://www.emblogic.com/blog/03/simplex-type-code-of-binary-search/</link>
		<comments>https://www.emblogic.com/blog/03/simplex-type-code-of-binary-search/#comments</comments>
		<pubDate>Mon, 03 Mar 2014 07:36:04 +0000</pubDate>
		<dc:creator><![CDATA[anu.bala]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=8822</guid>
		<description><![CDATA[/*condition for binary search is this that&#8230; u have to use sorted array &#38; u should know size of array in which element is to be searched otherwise do sorting 1st*/ #include&#60;stdio.h&#62; int main() { int search; int hi=10,lw=0,mid=0,i,k,proceed; int &#8230; <a href="https://www.emblogic.com/blog/03/simplex-type-code-of-binary-search/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>/*condition for binary search is this that&#8230; u have to use sorted array &amp; u should know size of array in which element is to be searched otherwise do sorting 1st*/<br />
#include&lt;stdio.h&gt;<br />
int main()<br />
{<br />
int search;<br />
int hi=10,lw=0,mid=0,i,k,proceed;<br />
int arr[10];//{3,5,6,7,9,10,13,14,16,17};<br />
for(k=0;k&lt;10;k++)<br />
{<br />
printf(&#8220;\nGIVE ME ARRAY:&#8221;);<br />
scanf(&#8220;%d&#8221;,&amp;arr[k]);<br />
}<br />
i=hi;<br />
for(proceed=0;i&gt;1;proceed++)//inti then cond check &#8230;.back&#8230;&#8230;1st it inc.then check cond.<br />
{<br />
i=i/2;<br />
//pro=3<br />
}<br />
printf(&#8220;\nproceed=%d&#8221;,proceed);<br />
do<br />
{<br />
printf(&#8220;\nenter the element to be searched:&#8221;);<br />
scanf(&#8220;%d&#8221;,&amp;search);<br />
mid=0;<br />
hi=10;lw=0;<br />
mid=(hi+lw)/2;<br />
for(i=0;i&lt;proceed;i++)//loop should operate at 0,1&amp; 2 times.<br />
{<br />
//mid=(hi+lw)/2;<br />
if(arr[mid]&gt;search)<br />
{<br />
hi=mid;<br />
mid=(lw+hi)/2;<br />
//printf(&#8220;\nmid in if=%d&#8221;,mid);</p>
<p>}<br />
else if(arr[mid]&lt;search)<br />
{<br />
lw=mid;//now func will work in else for these initialised values.<br />
mid=(lw+hi)/2;//7th pos=14//again come back at 8th pos<br />
//printf(&#8220;\nmid in else if=%d&#8221;,mid);</p>
<p>}<br />
if(arr[mid]==search)//by using else if here one loop will proceed extra again by proceed=3 value.<br />
{<br />
printf(&#8220;\nsearched at %d pos&#8221;,mid);<br />
break;</p>
<p>}<br />
}<br />
}while(search != 0);</p>
<p>return 0;<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/03/simplex-type-code-of-binary-search/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>linklist</title>
		<link>https://www.emblogic.com/blog/02/linklist/</link>
		<comments>https://www.emblogic.com/blog/02/linklist/#comments</comments>
		<pubDate>Sat, 22 Feb 2014 11:31:58 +0000</pubDate>
		<dc:creator><![CDATA[anu.bala]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=8484</guid>
		<description><![CDATA[doing structure pointer includeing arrays in loop with functions making linklist]]></description>
				<content:encoded><![CDATA[<p>doing structure pointer includeing arrays in loop with functions making linklist</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/02/linklist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title></title>
		<link>https://www.emblogic.com/blog/07/6965/</link>
		<comments>https://www.emblogic.com/blog/07/6965/#comments</comments>
		<pubDate>Tue, 30 Jul 2013 11:57:12 +0000</pubDate>
		<dc:creator><![CDATA[anu.bala]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=6965</guid>
		<description><![CDATA[i have done basic &#38;pointer assignment]]></description>
				<content:encoded><![CDATA[<p>i have done basic &amp;pointer assignment</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/07/6965/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title></title>
		<link>https://www.emblogic.com/blog/07/6835/</link>
		<comments>https://www.emblogic.com/blog/07/6835/#comments</comments>
		<pubDate>Thu, 18 Jul 2013 06:52:21 +0000</pubDate>
		<dc:creator><![CDATA[anu.bala]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=6835</guid>
		<description><![CDATA[its my 1st project related to linux ,how to compress file &#38;then unzip,&#38; i m very exited to do it]]></description>
				<content:encoded><![CDATA[<p>its my 1st project related to linux ,how to compress file &amp;then unzip,&amp; i m very exited to do it</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/07/6835/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
