<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5481196875221882832</id><updated>2024-10-09T15:47:14.782-07:00</updated><category term="K&amp;R"/><category term="cprogramming"/><title type='text'>study c programing</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gireeshcprogramming.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://gireeshcprogramming.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Gireesh</name><uri>http://www.blogger.com/profile/03798448816218052662</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5481196875221882832.post-3159530650642582781</id><published>2016-04-02T20:35:00.000-07:00</published><updated>2016-04-02T20:35:09.006-07:00</updated><title type='text'>Structure Data Type Example </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;Structure Data Type Example&amp;nbsp;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguRyUK5dsy5x8f_HOrXJ2mAgWFJYucbN_HcSifTxBLya8kZAgG4t_Da6idn9b85exEawKNjKMegzjcb-co-Pwjyx3-3oLbeny81RLR0vB8ElFHuufsnUcprtqPJfcHQ7W331u3e3asCLM/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;340&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguRyUK5dsy5x8f_HOrXJ2mAgWFJYucbN_HcSifTxBLya8kZAgG4t_Da6idn9b85exEawKNjKMegzjcb-co-Pwjyx3-3oLbeny81RLR0vB8ElFHuufsnUcprtqPJfcHQ7W331u3e3asCLM/s640/Capture.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
#include &lt;stdio .h=&quot;&quot;&gt;&lt;/stdio&gt;&lt;br /&gt;
#include &lt;stdlib .h=&quot;&quot;&gt;&lt;/stdlib&gt;&lt;br /&gt;
#include&lt;conio .h=&quot;&quot;&gt;&lt;/conio&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
struct Date {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;int Month;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;/* Members */&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;int Day;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;int Year;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
struct Date AddDecade(struct Date);&lt;br /&gt;
&lt;br /&gt;
int main(int argc, char *argv[])&lt;br /&gt;
{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;struct Date BDay;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;char buffer[50];&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;printf(&quot;What month were you born? &quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;BDay.Month = atoi(gets_s(buffer, 50));&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;printf(&quot;What day were you born? &quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;BDay.Day = atoi(gets_s(buffer, 50));&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;printf(&quot;What year were you born? &quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;BDay.Year = atoi(gets_s(buffer, 50));&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;printf(&quot;You were born on %d, %d, %d?\n&quot;, BDay.Month, BDay.Day, BDay.Year);&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;BDay = AddDecade(BDay);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;printf(&quot;You will be 10 years older on %d, %d, %d\n&quot;, BDay.Month, BDay.Day, BDay.Year);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;_getch();&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
struct Date AddDecade(struct Date Target) {&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Target.Year += 10;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Target.Month += 100;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;return Target;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gireeshcprogramming.blogspot.com/feeds/3159530650642582781/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/04/structure-data-type-example.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/3159530650642582781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/3159530650642582781'/><link rel='alternate' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/04/structure-data-type-example.html' title='Structure Data Type Example '/><author><name>Gireesh</name><uri>http://www.blogger.com/profile/03798448816218052662</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguRyUK5dsy5x8f_HOrXJ2mAgWFJYucbN_HcSifTxBLya8kZAgG4t_Da6idn9b85exEawKNjKMegzjcb-co-Pwjyx3-3oLbeny81RLR0vB8ElFHuufsnUcprtqPJfcHQ7W331u3e3asCLM/s72-c/Capture.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5481196875221882832.post-226738591833353637</id><published>2016-03-23T04:50:00.002-07:00</published><updated>2016-03-23T04:50:37.881-07:00</updated><title type='text'>a value in an array is passing to a function Example</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;&amp;nbsp; &amp;nbsp; &lt;/b&gt;&amp;nbsp;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;u&gt;value in an array is passing to a function Example&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
Same as the previous program but the simple difference which is Red colourly quoted pointer calling&amp;nbsp;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg96MI_jRoRExvxnP6HOuKTsyeP3TwJDV55vf9t-MRhlfsegzZMLDEskQsxLCSrPq7UF_PDxCD4dcplt1Ob0JzHY3mphyd9vNq0ooF6birJL6jf3e5OFoT9fEJWuJSwdix2-wEkTXNyAc/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;332&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg96MI_jRoRExvxnP6HOuKTsyeP3TwJDV55vf9t-MRhlfsegzZMLDEskQsxLCSrPq7UF_PDxCD4dcplt1Ob0JzHY3mphyd9vNq0ooF6birJL6jf3e5OFoT9fEJWuJSwdix2-wEkTXNyAc/s640/Capture.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
#include&lt;stdio .h=&quot;&quot;&gt;&lt;/stdio&gt;&lt;/div&gt;
&lt;div&gt;
#include&lt;conio .h=&quot;&quot;&gt;&lt;/conio&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
int array_test(int arra[]);&lt;/div&gt;
&lt;div&gt;
int main ()&lt;/div&gt;
&lt;div&gt;
{&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;int line[5] = {10,20,30,40,50};&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;array_test(line );&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;return 0;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;getch();&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
}&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
array_test(int arra1[])&lt;/div&gt;
&lt;div&gt;
{&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;int i;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; printf(&quot;arra value is &amp;nbsp;&quot;);&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;for(i=4; i&amp;gt;-1; i-- )&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot; _%d &quot;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;,*arra1++&lt;/b&gt;&lt;/span&gt;);&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;return 0;&lt;/div&gt;
&lt;div&gt;
}&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gireeshcprogramming.blogspot.com/feeds/226738591833353637/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/a-value-in-array-is-passing-to-function_23.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/226738591833353637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/226738591833353637'/><link rel='alternate' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/a-value-in-array-is-passing-to-function_23.html' title='a value in an array is passing to a function Example'/><author><name>Gireesh</name><uri>http://www.blogger.com/profile/03798448816218052662</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg96MI_jRoRExvxnP6HOuKTsyeP3TwJDV55vf9t-MRhlfsegzZMLDEskQsxLCSrPq7UF_PDxCD4dcplt1Ob0JzHY3mphyd9vNq0ooF6birJL6jf3e5OFoT9fEJWuJSwdix2-wEkTXNyAc/s72-c/Capture.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5481196875221882832.post-1860644263924324768</id><published>2016-03-23T04:43:00.003-07:00</published><updated>2016-03-23T04:44:51.153-07:00</updated><title type='text'>a value in an array is passing to a function Example </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;A &amp;nbsp;value in an array is passing to a function Example&amp;nbsp;&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
#include&lt;stdio .h=&quot;&quot;&gt;&lt;/stdio&gt;&lt;br /&gt;
#include&lt;conio .h=&quot;&quot;&gt;&lt;/conio&gt;&lt;br /&gt;
&lt;br /&gt;
int array_test(int arra[]); &amp;nbsp;// function&lt;br /&gt;
int main ()&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;int line[5] = {10,20,30,40,50}; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// array value named line&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;array_test(line ); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // array value passed to the function by function call&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;return 0;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;getch();&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
array_test(int arra1[]) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// function and declared an array named as arra1 to take the value from line &lt;br /&gt;
{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;int i;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; printf(&quot;arra value is &amp;nbsp;&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;for(i=4; i&amp;gt;-1; i-- )&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot; _%d &quot;,arra1[i]);&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;return 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3ULdAsbK6dv3IQluMXzkgwZ_SwI4orO2kNCBOI-7cOG4kDm2ODkvUd-KcShQnUmc0d_AM_KzTtU9-bvW-3-skYsuSUnvn_8auY5TXa7TdqhUaWxSV4rdEn39UvUS8skVCWNKR8u11-eU/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;284&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3ULdAsbK6dv3IQluMXzkgwZ_SwI4orO2kNCBOI-7cOG4kDm2ODkvUd-KcShQnUmc0d_AM_KzTtU9-bvW-3-skYsuSUnvn_8auY5TXa7TdqhUaWxSV4rdEn39UvUS8skVCWNKR8u11-eU/s640/Capture.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gireeshcprogramming.blogspot.com/feeds/1860644263924324768/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/a-value-in-array-is-passing-to-function.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/1860644263924324768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/1860644263924324768'/><link rel='alternate' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/a-value-in-array-is-passing-to-function.html' title='a value in an array is passing to a function Example '/><author><name>Gireesh</name><uri>http://www.blogger.com/profile/03798448816218052662</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3ULdAsbK6dv3IQluMXzkgwZ_SwI4orO2kNCBOI-7cOG4kDm2ODkvUd-KcShQnUmc0d_AM_KzTtU9-bvW-3-skYsuSUnvn_8auY5TXa7TdqhUaWxSV4rdEn39UvUS8skVCWNKR8u11-eU/s72-c/Capture.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5481196875221882832.post-1695682733749415962</id><published>2016-03-15T07:58:00.001-07:00</published><updated>2016-03-15T08:01:28.096-07:00</updated><title type='text'>getbit() function K&amp;R 2.9 </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;u&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; getbit() function&amp;nbsp;&lt;/u&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4vOitSEr48QXwjBT6u9k81bPw0o-72WB4NOICM0uZGnqZxzO03pCQKmGp-6xdG7IBAEXhjHfm0aMISCrcLBfA9gZtPKOVSfKHOOof0TN59xX3NU19QxmRLratTF3d_gMMrzNko_92-HM/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;349&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4vOitSEr48QXwjBT6u9k81bPw0o-72WB4NOICM0uZGnqZxzO03pCQKmGp-6xdG7IBAEXhjHfm0aMISCrcLBfA9gZtPKOVSfKHOOof0TN59xX3NU19QxmRLratTF3d_gMMrzNko_92-HM/s640/1.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfqirc0HbZ20RsoG2wsGjIBJQfM8zPAqtQRAkVgdJ4G7qBiPDfyBgpwAN0hCxKwFcOTxmjHuxC-cq0zpD8psXRytrSVzgTO4HMl60WhyeIfEzuCzDsH6oOVGYpQsoRejIsWSCATrejNTE/s1600/Untitled-1+copy.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;349&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfqirc0HbZ20RsoG2wsGjIBJQfM8zPAqtQRAkVgdJ4G7qBiPDfyBgpwAN0hCxKwFcOTxmjHuxC-cq0zpD8psXRytrSVzgTO4HMl60WhyeIfEzuCzDsH6oOVGYpQsoRejIsWSCATrejNTE/s640/Untitled-1+copy.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;#include&lt;stdio .h=&quot;&quot;&gt;&lt;/stdio&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;#include&lt;conio .h=&quot;&quot;&gt;&lt;/conio&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;int getbit(unsigned number, int position,int width )&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;return(number&amp;gt;&amp;gt;(position+1-width)) &amp;amp; ~(~0&amp;lt;&lt;width font=&quot;&quot;&gt;&lt;/width&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;int main ()&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-size: large; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-size: large; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;unsigned int a ;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;a = getbit(0xA7,6,4);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;printf(&quot; The extracted bit is %d = &quot;, a);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;return 0;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;getch();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gireeshcprogramming.blogspot.com/feeds/1695682733749415962/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/getbit-function-k-29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/1695682733749415962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/1695682733749415962'/><link rel='alternate' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/getbit-function-k-29.html' title='getbit() function K&amp;R 2.9 '/><author><name>Gireesh</name><uri>http://www.blogger.com/profile/03798448816218052662</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4vOitSEr48QXwjBT6u9k81bPw0o-72WB4NOICM0uZGnqZxzO03pCQKmGp-6xdG7IBAEXhjHfm0aMISCrcLBfA9gZtPKOVSfKHOOof0TN59xX3NU19QxmRLratTF3d_gMMrzNko_92-HM/s72-c/1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5481196875221882832.post-8837485651442837374</id><published>2016-03-13T09:11:00.003-07:00</published><updated>2016-03-13T09:11:37.350-07:00</updated><title type='text'>atoi(char s[]) function </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;&amp;nbsp;&amp;nbsp;atoi(char s[]) function&amp;nbsp;&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipGTh_h0CYX6FZyqxjEJu3YZP7PjPf0iU7g67iPe-vPbot0_NhhWbxr4AinTali0iA4CV7Ip5r9U8ZI_j-ZJQehGwVQWbVaoCwXuBpGGIIlBg7RY32ln8tIxU521OEYH7LmeGPCfq7o2c/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;398&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipGTh_h0CYX6FZyqxjEJu3YZP7PjPf0iU7g67iPe-vPbot0_NhhWbxr4AinTali0iA4CV7Ip5r9U8ZI_j-ZJQehGwVQWbVaoCwXuBpGGIIlBg7RY32ln8tIxU521OEYH7LmeGPCfq7o2c/s640/Capture.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;#include &lt;stdio .h=&quot;&quot;&gt;&lt;/stdio&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;#include&lt;conio .h=&quot;&quot;&gt;&lt;/conio&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;int atoi( char s[])&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;int n,i;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;n = 0;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; for(i = 0; s[i] &amp;gt;= &#39;0&#39; &amp;amp;&amp;amp; s[i] &amp;lt;= &#39;9&#39;; ++i)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; &amp;nbsp;n= &amp;nbsp;10 * n + (s[i] - &#39;0&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;return n;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;int main()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; int c;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; char s[]= {&#39;3&#39;,&#39;4&#39;,&#39;9&#39;};&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; c= atoi(s);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; printf(&quot;%d&quot;,c);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;getch();&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; return 0;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gireeshcprogramming.blogspot.com/feeds/8837485651442837374/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/atoichar-s-function.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/8837485651442837374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/8837485651442837374'/><link rel='alternate' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/atoichar-s-function.html' title='atoi(char s[]) function '/><author><name>Gireesh</name><uri>http://www.blogger.com/profile/03798448816218052662</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipGTh_h0CYX6FZyqxjEJu3YZP7PjPf0iU7g67iPe-vPbot0_NhhWbxr4AinTali0iA4CV7Ip5r9U8ZI_j-ZJQehGwVQWbVaoCwXuBpGGIIlBg7RY32ln8tIxU521OEYH7LmeGPCfq7o2c/s72-c/Capture.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5481196875221882832.post-1082884689217473432</id><published>2016-03-11T23:17:00.003-08:00</published><updated>2016-03-11T23:20:37.400-08:00</updated><title type='text'>Use of enum data type </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;u&gt; &amp;nbsp;Use of enum data type &amp;nbsp;example &amp;nbsp;&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;#include &lt;stdio .h=&quot;&quot;&gt;&lt;/stdio&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;#include&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; enum &lt;span style=&quot;color: lime;&quot;&gt;portselector&lt;/span&gt; { port1 = 1, port2,port3,port4&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &lt;span style=&quot;color: red;&quot;&gt;selected&lt;/span&gt;;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;void port(enum &lt;span style=&quot;color: lime;&quot;&gt;portselector&lt;/span&gt;);&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;int main(void)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;{&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;int data;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;printf(&quot;Enter the port you want &amp;nbsp;-&lt;/b&gt;&lt;/span&gt;&lt;b style=&quot;font-size: small;&quot;&gt;Port1=1,...,Port4 =4\n&quot;);&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;, &amp;amp;data);&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;selected=data;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;port(&lt;span style=&quot;color: red;&quot;&gt;selected&lt;/span&gt;);&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;printf(&quot;\n\nGiven Number is &amp;nbsp;= %d &amp;nbsp;&quot;,data);&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;getch();&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;return(0);&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;}&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;void port(enum &lt;span style=&quot;color: lime;&quot;&gt;portselector&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;selected&lt;/span&gt;)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;{&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;switch (&lt;span style=&quot;color: red;&quot;&gt;selected&lt;/span&gt;)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;{&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; case port1:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;port1 selected\n&quot;);&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; case port2:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;port2 selected\n&quot;);&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; case port3:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;port3 selected.\n&quot;);&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp;case port4:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;port4 selected\n&quot;);&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;break;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; default:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;no port available hi hi hi &amp;nbsp;only 4 ports .\n&quot;);&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;}&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;}&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNnpDGLeYNpEHdqdeokr8xLRmkvQmgZ2kf8MbkSIchccTh9V__vXmI9bagjVmDfCf2D5ZcewNfggfccnShnjheuWU_J-OtBSg7BvZc2ry6XbMvZ2Tb-UnVjkjw1HtKxX9YnvyZNtPDEtA/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;378&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNnpDGLeYNpEHdqdeokr8xLRmkvQmgZ2kf8MbkSIchccTh9V__vXmI9bagjVmDfCf2D5ZcewNfggfccnShnjheuWU_J-OtBSg7BvZc2ry6XbMvZ2Tb-UnVjkjw1HtKxX9YnvyZNtPDEtA/s640/Capture.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;whenever the function pass the value (int data = selected) &amp;nbsp;the switch case check the number .&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gireeshcprogramming.blogspot.com/feeds/1082884689217473432/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/use-of-enum-data-type.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/1082884689217473432'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/1082884689217473432'/><link rel='alternate' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/use-of-enum-data-type.html' title='Use of enum data type '/><author><name>Gireesh</name><uri>http://www.blogger.com/profile/03798448816218052662</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNnpDGLeYNpEHdqdeokr8xLRmkvQmgZ2kf8MbkSIchccTh9V__vXmI9bagjVmDfCf2D5ZcewNfggfccnShnjheuWU_J-OtBSg7BvZc2ry6XbMvZ2Tb-UnVjkjw1HtKxX9YnvyZNtPDEtA/s72-c/Capture.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5481196875221882832.post-950452693492290798</id><published>2016-03-07T05:45:00.000-08:00</published><updated>2016-03-07T05:45:13.476-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cprogramming"/><category scheme="http://www.blogger.com/atom/ns#" term="K&amp;R"/><title type='text'>File Coping </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;u&gt;Read character and print until the end of file EOF&amp;nbsp;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Here the program to copy or read by getchar() function And &amp;nbsp;the words or character &amp;nbsp;print it by putchar() function&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;#include&lt;stdio .h=&quot;&quot;&gt;&lt;/stdio&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;#include&lt;conio .h=&quot;&quot;&gt;&lt;/conio&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;int main()&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;{&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;char a;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;while((a=getchar()) != EOF)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;putchar(a);&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;getch();&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;return 0;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;}&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;See the out put&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCvZiTWrMvCwUkJrUSRdFsfD74ebIKh8o1wZY75-FsNu72TcP2ZHng5Fq1yf_ILqcRKq2XBCfTe3E_A0ZKuEjitcPIIZoQT_jp5cu5zfGtNCz8mVEebvGwcaFRAkPTrqZIOV3aJE6RTKU/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCvZiTWrMvCwUkJrUSRdFsfD74ebIKh8o1wZY75-FsNu72TcP2ZHng5Fq1yf_ILqcRKq2XBCfTe3E_A0ZKuEjitcPIIZoQT_jp5cu5zfGtNCz8mVEebvGwcaFRAkPTrqZIOV3aJE6RTKU/s1600/Capture.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gireeshcprogramming.blogspot.com/feeds/950452693492290798/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/file-coping.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/950452693492290798'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/950452693492290798'/><link rel='alternate' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/file-coping.html' title='File Coping '/><author><name>Gireesh</name><uri>http://www.blogger.com/profile/03798448816218052662</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCvZiTWrMvCwUkJrUSRdFsfD74ebIKh8o1wZY75-FsNu72TcP2ZHng5Fq1yf_ILqcRKq2XBCfTe3E_A0ZKuEjitcPIIZoQT_jp5cu5zfGtNCz8mVEebvGwcaFRAkPTrqZIOV3aJE6RTKU/s72-c/Capture.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5481196875221882832.post-4652374353725346660</id><published>2016-03-07T05:32:00.001-08:00</published><updated>2016-03-07T05:35:15.765-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cprogramming"/><category scheme="http://www.blogger.com/atom/ns#" term="K&amp;R"/><title type='text'>Use of getchar() ,putchar() functions</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;&lt;u&gt;&amp;nbsp;Use of getchar() ,putchar() functions&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;
The use of getchar function is to capture or get the data / the typed character from (single chara) keyboard .&lt;br /&gt;
&lt;br /&gt;
the putchar() is do just opposite of getchar()&lt;br /&gt;
&lt;br /&gt;
It prints directly to the screen , so we dont need use the printf() function .&lt;br /&gt;
&lt;br /&gt;
Look the program and output&lt;br /&gt;
&lt;br /&gt;
here used getchar() function &amp;nbsp;to get char.&lt;br /&gt;
putchar() and printf() function is used to print the given data.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhestCQwO92ooE0QaQN6jzVhT9rY7Rh02AWYUk1m4ghAHe7qEMUU-4EX-9pJAjWv1NvSfbXDrKN1JhsEoR_VjzyAujlYEzv3AhU8lXmLFz4mEwHCBkAjQF6xuRLXBxonsuXUbmtSU8a1GM/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;572&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhestCQwO92ooE0QaQN6jzVhT9rY7Rh02AWYUk1m4ghAHe7qEMUU-4EX-9pJAjWv1NvSfbXDrKN1JhsEoR_VjzyAujlYEzv3AhU8lXmLFz4mEwHCBkAjQF6xuRLXBxonsuXUbmtSU8a1GM/s640/Capture.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gireeshcprogramming.blogspot.com/feeds/4652374353725346660/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/use-of-getchar-putchar-functions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/4652374353725346660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/4652374353725346660'/><link rel='alternate' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/use-of-getchar-putchar-functions.html' title='Use of getchar() ,putchar() functions'/><author><name>Gireesh</name><uri>http://www.blogger.com/profile/03798448816218052662</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhestCQwO92ooE0QaQN6jzVhT9rY7Rh02AWYUk1m4ghAHe7qEMUU-4EX-9pJAjWv1NvSfbXDrKN1JhsEoR_VjzyAujlYEzv3AhU8lXmLFz4mEwHCBkAjQF6xuRLXBxonsuXUbmtSU8a1GM/s72-c/Capture.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5481196875221882832.post-5421130438941615597</id><published>2016-03-07T04:23:00.002-08:00</published><updated>2016-03-07T04:23:51.080-08:00</updated><title type='text'>Uses of for loop</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;font-size: large;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Uses of for loop&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvoGIt_TXAtwm1Xa5dnF6ustJDx5QKd73pbDa5Wr7_y6k_2EuwJ_UVukewzMBQ_5y5xDcNF68_nwwetq7CJfXIN1oRXweVyEgZ7GobfKIWvyuMkAkXHQSoQJTNTOTOyF33JmPr950s9bQ/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvoGIt_TXAtwm1Xa5dnF6ustJDx5QKd73pbDa5Wr7_y6k_2EuwJ_UVukewzMBQ_5y5xDcNF68_nwwetq7CJfXIN1oRXweVyEgZ7GobfKIWvyuMkAkXHQSoQJTNTOTOyF33JmPr950s9bQ/s1600/Capture.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;br /&gt;
#include&lt;stdio .h=&quot;&quot;&gt;&lt;/stdio&gt;&lt;br /&gt;
#include&lt;conio .h=&quot;&quot;&gt;&lt;/conio&gt;&lt;br /&gt;
&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;int far;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;for(far = 0 ; far &amp;lt;= 300; far +=20)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;printf(&quot;%3d %6.1f\n&quot; ,far ,(5.0/9.0) * (far - 32));&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;getch();&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;return 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gireeshcprogramming.blogspot.com/feeds/5421130438941615597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/uses-of-for-loop.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/5421130438941615597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/5421130438941615597'/><link rel='alternate' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/uses-of-for-loop.html' title='Uses of for loop'/><author><name>Gireesh</name><uri>http://www.blogger.com/profile/03798448816218052662</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvoGIt_TXAtwm1Xa5dnF6ustJDx5QKd73pbDa5Wr7_y6k_2EuwJ_UVukewzMBQ_5y5xDcNF68_nwwetq7CJfXIN1oRXweVyEgZ7GobfKIWvyuMkAkXHQSoQJTNTOTOyF33JmPr950s9bQ/s72-c/Capture.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5481196875221882832.post-565812242277437077</id><published>2016-03-07T04:08:00.000-08:00</published><updated>2016-03-07T04:09:43.562-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cprogramming"/><category scheme="http://www.blogger.com/atom/ns#" term="K&amp;R"/><title type='text'>Char Data Type</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #222426; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 19.5px;&quot;&gt;&amp;nbsp;the char is used to&amp;nbsp;storing&amp;nbsp;&amp;nbsp;simple character &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #222426; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: 15px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: #222426; font-size: 15px; line-height: 19.5px;&quot;&gt;&amp;nbsp;Unsigned: It consist only positive value i.e 0 to 255.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; clear: both; color: #222426; display: inline !important; font-size: 15px; line-height: 19.5px; margin-bottom: 1em; padding: 0px;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Signed: It consist both negative and positive values but in different formats like&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #222426; font-size: 15px; line-height: 19.5px;&quot;&gt;-1 to -128&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;background-color: white; border: 0px; color: #222426; font-size: 15px; line-height: 19.5px; margin: 0px 0px 0px 30px; padding: 0px;&quot;&gt;
&lt;li style=&quot;border: 0px; margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;0 to +127&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ol style=&quot;background-color: white; border: 0px; color: #222426; font-size: 15px; line-height: 19.5px; margin: 0px 0px 1em 30px; padding: 0px;&quot;&gt;
&lt;/ol&gt;
&lt;div style=&quot;background-color: white; border: 0px; clear: both; color: #222426; font-size: 15px; line-height: 19.5px; margin-bottom: 1em; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;And this all explanation is about 8 bit number system&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Char has 1 byte only&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;int main()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;{&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp; char a ;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;etc&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gireeshcprogramming.blogspot.com/feeds/565812242277437077/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/signed-and-unsigned-data-type.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/565812242277437077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/565812242277437077'/><link rel='alternate' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/signed-and-unsigned-data-type.html' title='Char Data Type'/><author><name>Gireesh</name><uri>http://www.blogger.com/profile/03798448816218052662</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5481196875221882832.post-3733868861806811456</id><published>2016-03-07T03:45:00.000-08:00</published><updated>2016-03-07T03:48:32.059-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cprogramming"/><category scheme="http://www.blogger.com/atom/ns#" term="K&amp;R"/><title type='text'>Working of a floating point data type </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;u&gt;Working of a floating point data type&amp;nbsp;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Look &amp;nbsp;and understand the program and output shown below &amp;nbsp;simple understand what will&lt;/div&gt;
happen there &lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZZTu8VXnZBI2PUGRJqgIuGOGN8fzZ-aokT-xzgwfU4wGPf31valMBfr5hSHhzRZmW2IJKPiHsmSxYcpQMO8C4UyaOhM-QLkYzN6asspDBSVX4s-5ZZ7SJhiPWAM5XQaEQu3aW-b9j3p4/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZZTu8VXnZBI2PUGRJqgIuGOGN8fzZ-aokT-xzgwfU4wGPf31valMBfr5hSHhzRZmW2IJKPiHsmSxYcpQMO8C4UyaOhM-QLkYzN6asspDBSVX4s-5ZZ7SJhiPWAM5XQaEQu3aW-b9j3p4/s1600/Capture.PNG&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#include&lt;stdio .h=&quot;&quot;&gt;&lt;/stdio&gt;&lt;br /&gt;
#include&lt;conio .h=&quot;&quot;&gt;&lt;/conio&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;int main(){&lt;br /&gt;
&lt;br /&gt;
float far = 10;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;%1.0f\n&quot;, far );&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; printf(&quot;%2.0f\n&quot;, far);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; printf(&quot;%3.0f\n&quot;, far);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; printf(&quot;%4.0f\n&quot;, far);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; printf(&quot;%5.0f\n\n&quot;, far);&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp;printf(&quot;%1.1f\n&quot;, far );&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; printf(&quot;%1.2f\n&quot;, far);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; printf(&quot;%1.3f\n&quot;, far);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; printf(&quot;%1.4f\n&quot;, far);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; printf(&quot;%1.5f\n&quot;, far);&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;getch();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;return 0;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZZTu8VXnZBI2PUGRJqgIuGOGN8fzZ-aokT-xzgwfU4wGPf31valMBfr5hSHhzRZmW2IJKPiHsmSxYcpQMO8C4UyaOhM-QLkYzN6asspDBSVX4s-5ZZ7SJhiPWAM5XQaEQu3aW-b9j3p4/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZZTu8VXnZBI2PUGRJqgIuGOGN8fzZ-aokT-xzgwfU4wGPf31valMBfr5hSHhzRZmW2IJKPiHsmSxYcpQMO8C4UyaOhM-QLkYzN6asspDBSVX4s-5ZZ7SJhiPWAM5XQaEQu3aW-b9j3p4/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZZTu8VXnZBI2PUGRJqgIuGOGN8fzZ-aokT-xzgwfU4wGPf31valMBfr5hSHhzRZmW2IJKPiHsmSxYcpQMO8C4UyaOhM-QLkYzN6asspDBSVX4s-5ZZ7SJhiPWAM5XQaEQu3aW-b9j3p4/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZZTu8VXnZBI2PUGRJqgIuGOGN8fzZ-aokT-xzgwfU4wGPf31valMBfr5hSHhzRZmW2IJKPiHsmSxYcpQMO8C4UyaOhM-QLkYzN6asspDBSVX4s-5ZZ7SJhiPWAM5XQaEQu3aW-b9j3p4/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZZTu8VXnZBI2PUGRJqgIuGOGN8fzZ-aokT-xzgwfU4wGPf31valMBfr5hSHhzRZmW2IJKPiHsmSxYcpQMO8C4UyaOhM-QLkYzN6asspDBSVX4s-5ZZ7SJhiPWAM5XQaEQu3aW-b9j3p4/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZZTu8VXnZBI2PUGRJqgIuGOGN8fzZ-aokT-xzgwfU4wGPf31valMBfr5hSHhzRZmW2IJKPiHsmSxYcpQMO8C4UyaOhM-QLkYzN6asspDBSVX4s-5ZZ7SJhiPWAM5XQaEQu3aW-b9j3p4/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gireeshcprogramming.blogspot.com/feeds/3733868861806811456/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/working-of-floating-point-data-type.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/3733868861806811456'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/3733868861806811456'/><link rel='alternate' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/working-of-floating-point-data-type.html' title='Working of a floating point data type '/><author><name>Gireesh</name><uri>http://www.blogger.com/profile/03798448816218052662</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZZTu8VXnZBI2PUGRJqgIuGOGN8fzZ-aokT-xzgwfU4wGPf31valMBfr5hSHhzRZmW2IJKPiHsmSxYcpQMO8C4UyaOhM-QLkYzN6asspDBSVX4s-5ZZ7SJhiPWAM5XQaEQu3aW-b9j3p4/s72-c/Capture.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5481196875221882832.post-62918898331111479</id><published>2016-03-07T02:06:00.001-08:00</published><updated>2016-03-07T04:09:59.671-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cprogramming"/><category scheme="http://www.blogger.com/atom/ns#" term="K&amp;R"/><title type='text'>Working Of while loop</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;nbsp;The while loop operates as follows , &lt;span style=&quot;color: red;&quot;&gt;the condition is tested ,if the it is true&lt;/span&gt; .&lt;br /&gt;
That is the condition is true that means&lt;br /&gt;
&lt;br /&gt;
for example&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10 == 10 . or 10&lt;20 .=&quot;&quot; etc=&quot;&quot; p=&quot;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;If it is true the statement in the while loop will be work or execute&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
while(i &amp;lt; j )&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; stament for exection&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&lt;b style=&quot;color: #222222; font-size: 13.2px; line-height: 18.48px;&quot;&gt; &amp;nbsp;while(far &amp;lt;= upper )&lt;/b&gt;&lt;br /&gt;
&lt;!--20--&gt;&lt;/20&gt;&lt;br /&gt;
&lt;pre name=&quot;CPP&quot; style=&quot;background-color: white; color: #222222; font-size: 13.2px; line-height: 18.48px;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{ &amp;nbsp;&lt;/b&gt;

&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;celsius = 5 * (far - 32)/9;&lt;/b&gt;

&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;%d\t%d\n&quot;, far ,celsius);&lt;/b&gt;

&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;far += step;&lt;/b&gt;

&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;/span&gt; }&lt;/b&gt;&lt;/pre&gt;
&lt;pre name=&quot;CPP&quot; style=&quot;background-color: white; color: #222222; font-size: 13.2px; line-height: 18.48px;&quot;&gt;&lt;b&gt;
&lt;/b&gt;&lt;/pre&gt;
&lt;pre name=&quot;CPP&quot; style=&quot;background-color: white; color: #222222; font-size: 13.2px; line-height: 18.48px;&quot;&gt;&lt;b&gt;
&lt;/b&gt;&lt;/pre&gt;
&lt;pre name=&quot;CPP&quot; style=&quot;background-color: white;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #222222;&quot;&gt;&lt;span style=&quot;font-size: 13.2px; line-height: 18.48px;&quot;&gt;it will execute till until the condition will get false  .&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;
&lt;pre name=&quot;CPP&quot; style=&quot;background-color: white;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #222222;&quot;&gt;&lt;span style=&quot;font-size: 13.2px; line-height: 18.48px;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;
&lt;pre name=&quot;CPP&quot; style=&quot;background-color: white;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #222222;&quot;&gt;&lt;span style=&quot;font-size: 13.2px; line-height: 18.48px;&quot;&gt;that is the far not equal to upper &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;
&lt;pre name=&quot;CPP&quot; style=&quot;background-color: white;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #222222;&quot;&gt;&lt;span style=&quot;font-size: 13.2px; line-height: 18.48px;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;
&lt;pre name=&quot;CPP&quot; style=&quot;background-color: white;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #222222;&quot;&gt;&lt;span style=&quot;font-size: 13.2px; line-height: 18.48px;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;
&lt;pre name=&quot;CPP&quot; style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #222222;&quot;&gt;&lt;span style=&quot;font-size: 13.2px; line-height: 18.48px;&quot;&gt;&lt;b&gt;NB : &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre name=&quot;CPP&quot; style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #222222;&quot;&gt;&lt;span style=&quot;font-size: 13.2px; line-height: 18.48px;&quot;&gt;&lt;b&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre name=&quot;CPP&quot; style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #222222;&quot;&gt;&lt;span style=&quot;font-size: 13.2px; line-height: 18.48px;&quot;&gt;&lt;b&gt;   The body of the while loop may be single or more line .&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre name=&quot;CPP&quot; style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #222222;&quot;&gt;&lt;span style=&quot;font-size: 13.2px; line-height: 18.48px;&quot;&gt;&lt;b&gt;  If there is a single line there is no need to add a the curly {} bracket &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre name=&quot;CPP&quot; style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #222222;&quot;&gt;&lt;span style=&quot;font-size: 13.2px; line-height: 18.48px;&quot;&gt;&lt;b&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre name=&quot;CPP&quot; style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #222222;&quot;&gt;&lt;span style=&quot;font-size: 13.2px; line-height: 18.48px;&quot;&gt;&lt;b&gt;Eg : &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre name=&quot;CPP&quot; style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #222222;&quot;&gt;&lt;span style=&quot;font-size: 13.2px; line-height: 18.48px;&quot;&gt;&lt;b&gt;       while(i &amp;lt; j)&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre name=&quot;CPP&quot; style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #222222;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 13.2px; line-height: 18.48px;&quot;&gt;        i = 2 * i ;  // it will repeat until the condition fall &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;!--20--&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gireeshcprogramming.blogspot.com/feeds/62918898331111479/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/working-of-while-loop.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/62918898331111479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/62918898331111479'/><link rel='alternate' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/working-of-while-loop.html' title='Working Of while loop'/><author><name>Gireesh</name><uri>http://www.blogger.com/profile/03798448816218052662</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5481196875221882832.post-4869828448142464486</id><published>2016-03-07T01:47:00.003-08:00</published><updated>2016-03-07T04:10:24.543-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cprogramming"/><category scheme="http://www.blogger.com/atom/ns#" term="K&amp;R"/><title type='text'>K&amp;R text Book page 8</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Variable and Arithmetic Operation&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLv82ljNw6w4xLWLvXRzj0JCZqmnllWQQZdIH4sI4z424cS3hzVLnW5-tr9o5sv-B0F7mRGuKVhiboySaMjpANm6cpDjIF7Uq5amNvNg7OQlQF0sFzh9xYFYnlKejEE75JlXU3T8CZd5M/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;398&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLv82ljNw6w4xLWLvXRzj0JCZqmnllWQQZdIH4sI4z424cS3hzVLnW5-tr9o5sv-B0F7mRGuKVhiboySaMjpANm6cpDjIF7Uq5amNvNg7OQlQF0sFzh9xYFYnlKejEE75JlXU3T8CZd5M/s640/Capture.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;pre name=&quot;CPP&quot;&gt;
&lt;b&gt;#include&lt;stdio .h=&quot;&quot;&gt;&lt;/stdio&gt;&lt;/b&gt;

&lt;b&gt;#include&lt;conio .h=&quot;&quot;&gt;&lt;/conio&gt;&lt;/b&gt;

&lt;b&gt;
&lt;/b&gt;
&lt;b&gt;&amp;nbsp;int main(){&lt;/b&gt;



&lt;b&gt;int far ,celsius;&lt;/b&gt;

&lt;b&gt;int lower ,upper,step;&lt;/b&gt;

&lt;b&gt;&amp;nbsp;&amp;nbsp;&lt;/b&gt;

&lt;b&gt;&amp;nbsp; lower = 0;&lt;/b&gt;

&lt;b&gt;&amp;nbsp; upper = 300;&lt;/b&gt;

&lt;b&gt;&amp;nbsp; step =20;&lt;/b&gt;

&lt;b&gt;&amp;nbsp; &amp;nbsp;&lt;/b&gt;

&lt;b&gt;&amp;nbsp; &amp;nbsp;far = lower;&lt;/b&gt;

&lt;b&gt;&amp;nbsp; &amp;nbsp;&lt;/b&gt;

&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;while(far &amp;lt;= upper )&lt;/b&gt;

&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{ &amp;nbsp;&lt;/b&gt;

&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;celsius = 5 * (far - 32)/9;&lt;/b&gt;

&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;%d\t%d\n&quot;, far ,celsius);&lt;/b&gt;

&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;far += step;&lt;/b&gt;

&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; }&lt;/b&gt;

&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;

&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;getch();&lt;/b&gt;

&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;return 0;&lt;/b&gt;

&lt;b&gt;}&lt;/b&gt;

&lt;b&gt;&lt;/b&gt;

&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gireeshcprogramming.blogspot.com/feeds/4869828448142464486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/k-text-book-page-8.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/4869828448142464486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/4869828448142464486'/><link rel='alternate' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/k-text-book-page-8.html' title='K&amp;R text Book page 8'/><author><name>Gireesh</name><uri>http://www.blogger.com/profile/03798448816218052662</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLv82ljNw6w4xLWLvXRzj0JCZqmnllWQQZdIH4sI4z424cS3hzVLnW5-tr9o5sv-B0F7mRGuKVhiboySaMjpANm6cpDjIF7Uq5amNvNg7OQlQF0sFzh9xYFYnlKejEE75JlXU3T8CZd5M/s72-c/Capture.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5481196875221882832.post-179883295973929493</id><published>2016-03-07T01:34:00.003-08:00</published><updated>2016-03-07T04:10:31.791-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cprogramming"/><category scheme="http://www.blogger.com/atom/ns#" term="K&amp;R"/><title type='text'>Uses Of %d in c Programming </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;nbsp;Many Of them getting confusion in %d. &amp;nbsp;lokk the various output at diffrent %d .ie . %2D ,%3d, %4d etc&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSAuKYQIB6wJlBOIfzMpvJ4pgzfs8ovrl307dMKrQs7oEU8_9ko1K5n45DcpwHPpbMXPm3_Md0vZHQMsQ10DfTrNaWg8jZYtiI0OYuaLZC2Dyd2WhChoIDw6jWF3YW_G0hUKhlBQSmK7s/s1600/1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;236&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSAuKYQIB6wJlBOIfzMpvJ4pgzfs8ovrl307dMKrQs7oEU8_9ko1K5n45DcpwHPpbMXPm3_Md0vZHQMsQ10DfTrNaWg8jZYtiI0OYuaLZC2Dyd2WhChoIDw6jWF3YW_G0hUKhlBQSmK7s/s640/1.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhskpBcJ_LKD3UV3Mim08vLg_cHLQqf2Xo7Xj5ENGxXos7z9iFr5Y6DQUZm58bWmJubCuicsfX-rwiKTd952wpdrG5BGqvHbFwgnGnCjwRi3Wsuwxn3ni5weUrCEoPlkGD-tODd7WRDqyU/s1600/2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;226&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhskpBcJ_LKD3UV3Mim08vLg_cHLQqf2Xo7Xj5ENGxXos7z9iFr5Y6DQUZm58bWmJubCuicsfX-rwiKTd952wpdrG5BGqvHbFwgnGnCjwRi3Wsuwxn3ni5weUrCEoPlkGD-tODd7WRDqyU/s640/2.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjc3DtBJne2Eg2QJXc5cgcsceq9mflHiJif9-YCM8dC_W3C6rmCZ-S5Yskf8P0EPBiHRMfW22BfVmi80GfvbTB3UOH7YsIWMMRQb8FD_k8wAjXN-RQ77ASaO0rPxnfu0609bs-MLJSN0-Y/s1600/3.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;290&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjc3DtBJne2Eg2QJXc5cgcsceq9mflHiJif9-YCM8dC_W3C6rmCZ-S5Yskf8P0EPBiHRMfW22BfVmi80GfvbTB3UOH7YsIWMMRQb8FD_k8wAjXN-RQ77ASaO0rPxnfu0609bs-MLJSN0-Y/s640/3.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRBuSz009_VmIkTJBuAw6L5q5-FlYX1tJN9buPMpO5PR6d2hFD4Q5Sc9eLdjudXwthEiwR14GteK9yoeuj7Tegk73YQADeb_k8utKLH4FvYpgg7NkkcFVgKADEXxfzEXbkasRL8asOh8k/s1600/4.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;266&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRBuSz009_VmIkTJBuAw6L5q5-FlYX1tJN9buPMpO5PR6d2hFD4Q5Sc9eLdjudXwthEiwR14GteK9yoeuj7Tegk73YQADeb_k8utKLH4FvYpgg7NkkcFVgKADEXxfzEXbkasRL8asOh8k/s640/4.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm68aBtPtzJn081jasff5O4FMh_Mvl_3x_H0YLdZJPOrhs-fNt9fdmWaGeNy096t-U430Xt6NBVvvzsm75gIWH0zU1ZTyMwV6WPQxMaxTH9_xkvkw82kK903rr7Dpd77dgbfnKrD_Hco4/s1600/5.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;206&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm68aBtPtzJn081jasff5O4FMh_Mvl_3x_H0YLdZJPOrhs-fNt9fdmWaGeNy096t-U430Xt6NBVvvzsm75gIWH0zU1ZTyMwV6WPQxMaxTH9_xkvkw82kK903rr7Dpd77dgbfnKrD_Hco4/s640/5.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHExX5QiGElsCiNjXXu-T5bdI-suRpuOWSToJueN9pJMc1mDVyww7kjg_GP1Yo0B_o7mMWTTjBSWjvrC6siCt6AQ3gccMNdE7mCt-TmWmtBwr3NFwN2AgO87kJooAHZM2gyDEs_-tO1FM/s1600/6.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;206&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHExX5QiGElsCiNjXXu-T5bdI-suRpuOWSToJueN9pJMc1mDVyww7kjg_GP1Yo0B_o7mMWTTjBSWjvrC6siCt6AQ3gccMNdE7mCt-TmWmtBwr3NFwN2AgO87kJooAHZM2gyDEs_-tO1FM/s640/6.PNG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gireeshcprogramming.blogspot.com/feeds/179883295973929493/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/uses-of-d-in-c-programming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/179883295973929493'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/179883295973929493'/><link rel='alternate' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/uses-of-d-in-c-programming.html' title='Uses Of %d in c Programming '/><author><name>Gireesh</name><uri>http://www.blogger.com/profile/03798448816218052662</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSAuKYQIB6wJlBOIfzMpvJ4pgzfs8ovrl307dMKrQs7oEU8_9ko1K5n45DcpwHPpbMXPm3_Md0vZHQMsQ10DfTrNaWg8jZYtiI0OYuaLZC2Dyd2WhChoIDw6jWF3YW_G0hUKhlBQSmK7s/s72-c/1.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5481196875221882832.post-5688288201419176762</id><published>2016-03-07T00:27:00.004-08:00</published><updated>2016-03-11T23:46:45.591-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cprogramming"/><category scheme="http://www.blogger.com/atom/ns#" term="K&amp;R"/><title type='text'> Introduction to c programming </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;&lt;u&gt;&amp;nbsp;Introduction to c programming&amp;nbsp;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;First Program&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&amp;nbsp; Hello World Program&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;We need to&amp;nbsp;compiler&amp;nbsp;and an IDE &amp;nbsp;I am using Dev C++ IDE very good and simple one&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPMgABeFbqxDEQiY8VjwC-bIKPmXQsWbj8eVTyTc9K182-C6LCOB0BwcPnWPqfLo6GtkEC6PU7adQuYpowOtMwl-UjK8SgsEDKXg1OLN3qZL9lzaZjzQ8dFPKdsnwhjc5uphSvCoX4lHQ/s1600/Dev-C1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPMgABeFbqxDEQiY8VjwC-bIKPmXQsWbj8eVTyTc9K182-C6LCOB0BwcPnWPqfLo6GtkEC6PU7adQuYpowOtMwl-UjK8SgsEDKXg1OLN3qZL9lzaZjzQ8dFPKdsnwhjc5uphSvCoX4lHQ/s200/Dev-C1.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp;It is a free and Open Source IDE .And &amp;nbsp;small in size download it from Here&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;&lt;a href=&quot;https://sourceforge.net/projects/orwelldevcpp/&quot;&gt;Click Here &lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
first Program&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;To print out the following words hello World&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;a href=&quot;http://gireeshcprogramming.blogspot.in/2016/03/uses-of-d-in-c-programming.html&quot; target=&quot;_blank&quot;&gt;next tutorials&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;pre class=&quot;brush:CPP&quot;&gt;&lt;/pre&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #990000; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 19px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gireeshcprogramming.blogspot.com/feeds/5688288201419176762/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/introduction-to-c-programming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/5688288201419176762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/5688288201419176762'/><link rel='alternate' type='text/html' href='http://gireeshcprogramming.blogspot.com/2016/03/introduction-to-c-programming.html' title=' Introduction to c programming '/><author><name>Gireesh</name><uri>http://www.blogger.com/profile/03798448816218052662</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPMgABeFbqxDEQiY8VjwC-bIKPmXQsWbj8eVTyTc9K182-C6LCOB0BwcPnWPqfLo6GtkEC6PU7adQuYpowOtMwl-UjK8SgsEDKXg1OLN3qZL9lzaZjzQ8dFPKdsnwhjc5uphSvCoX4lHQ/s72-c/Dev-C1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5481196875221882832.post-3659188033050197236</id><published>2015-09-16T01:10:00.002-07:00</published><updated>2016-03-07T04:10:45.350-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cprogramming"/><category scheme="http://www.blogger.com/atom/ns#" term="K&amp;R"/><title type='text'>Shift Operator Tutorials in C</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
SHIFT OPERATION IN C&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
I had more times learned the bit shift operator after some days i am forgetting that . so i am expressing the details how it works . through this i can rewind this post to learn it ..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Left shift operator&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;
&amp;nbsp;The syntax for writing shift operator as follows&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background: rgb(246, 248, 255); border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(221, 221, 221) rgb(138, 192, 7); border-style: solid; border-width: 1px 1px 1px 5px; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 15px; line-height: 18px; margin-bottom: 10px; margin-top: 10px; padding: 5px 5px 5px 10px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;variable&lt;/span&gt;&lt;span style=&quot;margin: 0px; padding: 0px;&quot;&gt;]&amp;lt;&amp;lt;&lt;/span&gt;[number of places]&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
This is writing as follows&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;lt;&lt;a a=&quot;&quot; b=&quot;&quot; href=&quot;https://www.blogger.com/null&quot;&gt;&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
Here&lt;span style=&quot;color: red;&quot;&gt; 1&lt;/span&gt; is &amp;nbsp;variable&lt;b style=&quot;color: red;&quot;&gt;&amp;nbsp;,&lt;/b&gt;the operator &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&amp;lt;&amp;lt;&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;;&lt;/span&gt;&lt;/span&gt; left shift&lt;b&gt; &lt;/b&gt;&lt;b style=&quot;color: red;&quot;&gt;&amp;nbsp;&lt;/b&gt;and &lt;span style=&quot;color: red;&quot;&gt;a&lt;/span&gt; is the number ie, how much bit position is needed to shift to left.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;In detail :&lt;br /&gt;
&amp;nbsp; &amp;nbsp; In the LEFT shift (&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&amp;lt;&amp;lt;&lt;/b&gt;&lt;/span&gt;) &amp;nbsp; first you write an N number of &amp;nbsp;of zeros , where the &#39;N&quot; is the number placed in number of places&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;for Example &lt;/b&gt;: &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1) &amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;lt;&lt;3 font=&quot;&quot;&gt;&lt;!--3--&gt;&lt;!--3--&gt;&lt;/3&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ie , &amp;nbsp; &amp;nbsp;1 will be left shift by putting 3 zeros&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ie, 1 wrote first and put 3 zeros&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1000&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;finally&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&amp;lt;&lt;3 1000=&quot;&quot; 16=&quot;&quot; binary=&quot;&quot; decimal=&quot;&quot; font=&quot;&quot; in=&quot;&quot; or=&quot;&quot;&gt;&lt;!--3--&gt;&lt;!--3--&gt;&lt;/3&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Example 2)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&amp;gt;&amp;gt;3;&lt;!--3--&gt;&lt;!--3--&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 11... then 3 zeros&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 11000 = 24 in decimal&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Example 3)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5&amp;lt;&lt;3 comment-3--=&quot;&quot;&gt;&lt;!--3--&gt;&lt;!--3--&gt;&lt;!--3--&gt;&lt;/3&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;101... 000&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ie 101000&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Example 3) &amp;nbsp; 3&amp;lt;&lt;5 comment-5--=&quot;&quot;&gt;&lt;!--5--&gt;&lt;!--5--&gt;&lt;!--5--&gt;&lt;/5&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1100000&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;***********************************************************************************&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gireeshcprogramming.blogspot.com/feeds/3659188033050197236/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gireeshcprogramming.blogspot.com/2015/09/shift-operator-tutorials-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/3659188033050197236'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/3659188033050197236'/><link rel='alternate' type='text/html' href='http://gireeshcprogramming.blogspot.com/2015/09/shift-operator-tutorials-in-c.html' title='Shift Operator Tutorials in C'/><author><name>Gireesh</name><uri>http://www.blogger.com/profile/03798448816218052662</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5481196875221882832.post-4479136278436172425</id><published>2010-01-23T08:05:00.000-08:00</published><updated>2010-01-23T08:14:45.479-08:00</updated><title type='text'>welcome</title><content type='html'>&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--&lt;br /&gt;google_ad_client = &quot;pub-8429441124104529&quot;;&lt;br /&gt;/* 300x250, created 23/01/10 */&lt;br /&gt;google_ad_slot = &quot;8583697386&quot;;&lt;br /&gt;google_ad_width = 300;&lt;br /&gt;google_ad_height = 250;&lt;br /&gt;//--&gt;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;script type=&quot;text/javascript&quot;&lt;br /&gt;src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;&lt;br /&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://gireeshcprogramming.blogspot.com/feeds/4479136278436172425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gireeshcprogramming.blogspot.com/2010/01/welcome.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/4479136278436172425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5481196875221882832/posts/default/4479136278436172425'/><link rel='alternate' type='text/html' href='http://gireeshcprogramming.blogspot.com/2010/01/welcome.html' title='welcome'/><author><name>Gireesh</name><uri>http://www.blogger.com/profile/03798448816218052662</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>