<?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-5887008643055529209</id><updated>2024-10-04T19:14:34.099-07:00</updated><category term="LINKED LIST"/><category term="saurabh&#39;s blog"/><category term="SINGLY LINKED LIST"/><category term="salokr"/><category term="saurabh"/><category term="application of linked list"/><category term="salokr&#39;s"/><category term="REVERSING LINKED LIST"/><category term="c"/><category term="ARRAY USE"/><category term="LINKED LIST ADDITION"/><category term="c program"/><category term="data strucures"/><category term="games"/><category term="node opeartions"/><category term="through c"/><category term="ADDITION"/><category term="FORWARD DIFFERNECE TABLE"/><category term="LIFO"/><category term="NEWTON&#39;S FORWARD DIFFERENCE TABLE"/><category term="NUMERICAL TECHNIQUES"/><category term="Stack"/><category term="algorithm"/><category term="babylonian"/><category term="babylonian method"/><category term="battleship"/><category term="blog"/><category term="c programs"/><category term="circular"/><category term="circular linked list"/><category term="counting"/><category term="counting sort"/><category term="database"/><category term="deletion"/><category term="doubly"/><category term="doubly linked list"/><category term="equation solving"/><category term="factorial"/><category term="games through C"/><category term="gauss"/><category term="gauss-siedel"/><category term="gausssiedel"/><category term="implemenation"/><category term="interview questions"/><category term="linked database"/><category term="linked list database"/><category term="list database"/><category term="method"/><category term="multiplication"/><category term="multiplication using linked list"/><category term="program"/><category term="program for factorial"/><category term="program for square root"/><category term="queue"/><category term="salokr&#39;s blog"/><category term="searching"/><category term="siedel"/><category term="simple and basic node opeartions"/><category term="simple database"/><category term="simple operations on circular linked list"/><category term="simple square root"/><category term="sort"/><category term="sorting"/><category term="sorting algorithm"/><category term="square root"/><category term="square root example"/><category term="square root through c"/><category term="through c ."/><category term="tic tac toe"/><category term="traversing"/><title type='text'>Saurabh&#39;s Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://salokr.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://salokr.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Saurabh</name><uri>http://www.blogger.com/profile/12744515394966062206</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>16</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5887008643055529209.post-1256615196192621680</id><published>2013-01-12T04:48:00.002-08:00</published><updated>2013-01-12T04:50:35.086-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="application of linked list"/><category scheme="http://www.blogger.com/atom/ns#" term="LINKED LIST"/><category scheme="http://www.blogger.com/atom/ns#" term="multiplication"/><category scheme="http://www.blogger.com/atom/ns#" term="multiplication using linked list"/><category scheme="http://www.blogger.com/atom/ns#" term="REVERSING LINKED LIST"/><category scheme="http://www.blogger.com/atom/ns#" term="salokr"/><category scheme="http://www.blogger.com/atom/ns#" term="salokr&#39;s"/><category scheme="http://www.blogger.com/atom/ns#" term="salokr&#39;s blog"/><category scheme="http://www.blogger.com/atom/ns#" term="saurabh"/><category scheme="http://www.blogger.com/atom/ns#" term="saurabh&#39;s blog"/><category scheme="http://www.blogger.com/atom/ns#" term="SINGLY LINKED LIST"/><title type='text'>Multiplication Of Two Numbers With Help Of Linked List </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;u&gt;&lt;span style=&quot;color: red;&quot;&gt;Multiplication Of Two Numbers With Help Of Linked List&lt;/span&gt;&lt;/u&gt;&lt;/h2&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;strong&gt;&lt;/strong&gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #ffd966;&quot;&gt;&lt;strong&gt;It&#39;s A Multiplication Program Using Linked List That Means It Can Multiply Numbers That Are Bigger Than Range Of int , long int etc.. .............﻿&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;#include&amp;lt;stdlib.h&amp;gt;&lt;br /&gt;typedef struct ll&lt;br /&gt;{&lt;br /&gt;int digit;&lt;br /&gt;struct ll *next;&lt;br /&gt;}number;&lt;br /&gt;void add(number **hd,int i);&lt;br /&gt;void traverse(number *hd);&lt;br /&gt;void reverse(number **hd);&lt;br /&gt;void adds(char a[],number **hd);&lt;br /&gt;void addhead(number *hd1,number *hd);&lt;br /&gt;void mul(number *hd1,number **hd2);&lt;br /&gt;void multiply(number *hd1,int attempt,int x);&lt;br /&gt;void copy(number *hd);&lt;br /&gt;void freeh(number **hd);&lt;br /&gt;number *oh=NULL,*head3=NULL,*head4=NULL;&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;number *head1=NULL,*head2=NULL;&lt;br /&gt;char a[500],b[500];&lt;br /&gt;clrscr();&lt;br /&gt;gets(a);&lt;br /&gt;gets(b);&lt;br /&gt;adds(a,&amp;amp;head1);&lt;br /&gt;adds(b,&amp;amp;head2);&lt;br /&gt;printf(&quot;___________&quot;);&lt;br /&gt;printf(&quot;\nAnswer Is :|&quot;);&lt;br /&gt;printf(&quot;\n-----------&quot;);&lt;br /&gt;mul(head1,&amp;amp;head2);&lt;br /&gt;freeh(&amp;amp;head1);&lt;br /&gt;freeh(&amp;amp;head2);&lt;br /&gt;freeh(&amp;amp;oh);&lt;br /&gt;freeh(&amp;amp;head4);&lt;br /&gt;traverse(head3);&lt;br /&gt;freeh(&amp;amp;head3);&lt;br /&gt;getch();&lt;br /&gt;}&lt;br /&gt;void copy(number *hd)&lt;br /&gt;{&lt;br /&gt;if(hd==NULL)&lt;br /&gt;return;&lt;br /&gt;while(hd!=NULL)&lt;br /&gt;{&lt;br /&gt;add(&amp;amp;head3,hd-&amp;gt;digit);&lt;br /&gt;hd=hd-&amp;gt;next;&lt;br /&gt;}&lt;br /&gt;reverse(&amp;amp;head3);&lt;br /&gt;}&lt;br /&gt;///////////////////////////////////////////////////&lt;br /&gt;void mul(number *hd1,number **hd2)&lt;br /&gt;{&lt;br /&gt;int attempt=0,x;number *temp;&lt;br /&gt;while(*hd2!=NULL)&lt;br /&gt;{&lt;br /&gt;temp=*hd2;&lt;br /&gt;x=(*hd2)-&amp;gt;digit;&lt;br /&gt;multiply(hd1,attempt,x);&lt;br /&gt;attempt++;&lt;br /&gt;*hd2=(*hd2)-&amp;gt;next;&lt;br /&gt;free(temp);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;void multiply(number *hd1,int attempt,int x)&lt;br /&gt;{&lt;br /&gt;int a,sum=0,carry=0;&lt;br /&gt;while(hd1!=NULL)&lt;br /&gt;{&lt;br /&gt;a=hd1-&amp;gt;digit*x+carry;&lt;br /&gt;sum=a%10;&lt;br /&gt;carry=a/10;&lt;br /&gt;add(&amp;amp;oh,sum);&lt;br /&gt;hd1=hd1-&amp;gt;next;&lt;br /&gt;}&lt;br /&gt;if(carry&amp;gt;0)&lt;br /&gt;add(&amp;amp;oh,carry);&amp;nbsp;&amp;nbsp;&amp;nbsp; //till here no change&lt;br /&gt;if(attempt==0)&lt;br /&gt;{&lt;br /&gt;copy(oh);&lt;br /&gt;freeh(&amp;amp;oh);&lt;br /&gt;return;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #ffd966;&quot;&gt;&lt;strong&gt;}&lt;br /&gt;&amp;nbsp; //reverse should be of head4&lt;br /&gt;reverse(&amp;amp;oh);&lt;br /&gt;while(attempt)&lt;br /&gt;{&lt;br /&gt;add(&amp;amp;oh,0);&lt;br /&gt;attempt--;&lt;br /&gt;}&lt;br /&gt;reverse(&amp;amp;head3);&lt;br /&gt;addhead(oh,head3);&amp;nbsp; //addition of head4 and oh should be done&lt;br /&gt;freeh(&amp;amp;head3);&lt;br /&gt;copy(head4);&lt;br /&gt;freeh(&amp;amp;head4);&lt;br /&gt;freeh(&amp;amp;oh);&lt;br /&gt;}&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #ffd966;&quot;&gt;&lt;strong&gt;void freeh(number **hd)&lt;br /&gt;{&lt;br /&gt;number *temp;&lt;br /&gt;while(*hd!=NULL)&lt;br /&gt;{&lt;br /&gt;temp=*hd;&lt;br /&gt;*hd=(*hd)-&amp;gt;next;&lt;br /&gt;free(temp);&lt;br /&gt;}&lt;br /&gt;*hd=NULL;&lt;br /&gt;}&lt;br /&gt;void add(number **hd,int i)&lt;br /&gt;{&lt;br /&gt;number *t;&lt;br /&gt;t=(number*)malloc(sizeof(number));&lt;br /&gt;t-&amp;gt;next=NULL;&lt;br /&gt;t-&amp;gt;digit=i;&lt;br /&gt;if(*hd==NULL)&lt;br /&gt;{&lt;br /&gt;*hd=t;&lt;br /&gt;return;&lt;br /&gt;}&lt;br /&gt;t-&amp;gt;next=*hd;&lt;br /&gt;*hd=t;&lt;br /&gt;}&lt;br /&gt;///////////////////////////////////////////////////&lt;br /&gt;void traverse(number *hd)&lt;br /&gt;{&lt;br /&gt;printf(&quot;\n&quot;);&lt;br /&gt;while(hd!=NULL)&lt;br /&gt;{&lt;br /&gt;printf(&quot;%d&quot;,hd-&amp;gt;digit);&lt;br /&gt;hd=hd-&amp;gt;next;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;//////////////////////////////////////////////////&lt;br /&gt;void reverse(number **hd)&lt;br /&gt;{&lt;br /&gt;number *p,*q,*r;&lt;br /&gt;if(*hd==NULL)&lt;br /&gt;return;&lt;br /&gt;p=*hd;&lt;br /&gt;if(p-&amp;gt;next==NULL)&lt;br /&gt;return;&lt;br /&gt;q=p-&amp;gt;next;&lt;br /&gt;if(q-&amp;gt;next==NULL)&lt;br /&gt;{&lt;br /&gt;q-&amp;gt;next=p;&lt;br /&gt;p-&amp;gt;next=NULL;&lt;br /&gt;*hd=q;&lt;br /&gt;return;&lt;br /&gt;}&lt;br /&gt;r=q-&amp;gt;next;&lt;br /&gt;while(r-&amp;gt;next!=NULL)&lt;br /&gt;{&lt;br /&gt;q-&amp;gt;next=p;&lt;br /&gt;p=q;&lt;br /&gt;q=r;&lt;br /&gt;r=r-&amp;gt;next;&lt;br /&gt;}&lt;br /&gt;q-&amp;gt;next=p;&lt;br /&gt;r-&amp;gt;next=q;&lt;br /&gt;(*hd)-&amp;gt;next=NULL;&lt;br /&gt;*hd=r;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #ffd966;&quot;&gt;&lt;strong&gt;}&lt;br /&gt;void addhead(number *hd1,number *hd2)&lt;br /&gt;{&lt;br /&gt;int x,carry=0,sum=0;&lt;br /&gt;while(hd1!=NULL&amp;amp;&amp;amp;hd2!=NULL)&lt;br /&gt;{&lt;br /&gt;x=(hd1)-&amp;gt;digit+(hd2)-&amp;gt;digit + carry;&lt;br /&gt;sum=x % 10;&lt;br /&gt;carry=x / 10;&lt;br /&gt;add(&amp;amp;head4,sum);&lt;br /&gt;hd1=(hd1)-&amp;gt;next;&lt;br /&gt;hd2=(hd2)-&amp;gt;next;&lt;br /&gt;}&lt;br /&gt;if(hd1==NULL&amp;amp;&amp;amp;hd2!=NULL)&lt;br /&gt;{&lt;br /&gt;while(hd2!=NULL)&lt;br /&gt;{&lt;br /&gt;x=(hd2)-&amp;gt;digit + carry;&lt;br /&gt;sum=x % 10;&lt;br /&gt;carry=x / 10;&lt;br /&gt;add(&amp;amp;head4,sum);&lt;br /&gt;hd2=(hd2)-&amp;gt;next;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;else if(hd1!=NULL&amp;amp;&amp;amp;hd2==NULL)&lt;br /&gt;{&lt;br /&gt;while(hd1!=NULL)&lt;br /&gt;{&lt;br /&gt;x=(hd1)-&amp;gt;digit + carry;&lt;br /&gt;sum=x % 10;&lt;br /&gt;carry=x / 10;&lt;br /&gt;add(&amp;amp;head4,sum);&lt;br /&gt;hd1=(hd1)-&amp;gt;next;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;if(carry&amp;gt;0)&lt;br /&gt;add(&amp;amp;head4,carry);&lt;br /&gt;//reverse(hd3);&lt;br /&gt;}&lt;br /&gt;void adds(char a[],number **hd)&lt;br /&gt;{&lt;br /&gt;int i=0;&lt;br /&gt;while(a[i]!= &#39;\0&#39;)&lt;br /&gt;{&lt;br /&gt;add(hd,a[i]- &#39;0&#39;);&lt;br /&gt;i++;&lt;br /&gt;}&lt;br /&gt;}&lt;/strong&gt;&lt;/span&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/AVvXsEh2wUHl-Z4DZi5TnPknLg_FzfNyipinS9vCft-n06J5r-HGe1WVwgOIAoqNwnmj5vxttoL1rjCi9bCX8pb3E0ilZcYj7CgQAJQ1gBMAsY116jhuvtthmyMKWhwMyliReWghfFE49huFdxY/s1600/mjlt.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;212&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2wUHl-Z4DZi5TnPknLg_FzfNyipinS9vCft-n06J5r-HGe1WVwgOIAoqNwnmj5vxttoL1rjCi9bCX8pb3E0ilZcYj7CgQAJQ1gBMAsY116jhuvtthmyMKWhwMyliReWghfFE49huFdxY/s320/mjlt.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;span style=&quot;color: #ffd966;&quot;&gt;&lt;/span&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #ffd966;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #ffd966;&quot;&gt;
&lt;strong&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
___________________________________________________________________________________&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;justify&quot; class=&quot;MsoNormal&quot; style=&quot;color: red; margin-left: 10px; margin-right: 10px; margin-top: 5px;&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;&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;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; !!! HOPE 
U LIKE IT !!!&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;justify&quot; class=&quot;MsoNormal&quot; style=&quot;color: red; margin-left: 10px; margin-right: 10px; margin-top: 5px;&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; !!!&amp;nbsp; THANKS FOR 
READING !!!&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;text_exposed_show&quot; 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;&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;&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; !!!!!HAPPY 
PROGRAMMING !!!!!&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h3 class=&quot;text_exposed_show&quot; style=&quot;color: red; text-align: left;&quot;&gt;
U Can catch me at &lt;span style=&quot;background-color: #990000;&quot;&gt;&lt;a href=&quot;http://www.facebook.com/salokr&quot;&gt;&lt;span style=&quot;background-color: white; color: #f6b26b;&quot;&gt;http://www.facebook.com/salokr&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;color: #ffd966;&quot;&gt;&lt;/span&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #ffd966;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #ffd966;&quot;&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;strong&gt;&lt;/strong&gt;&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://salokr.blogspot.com/feeds/1256615196192621680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://salokr.blogspot.com/2013/01/multiplication-of-two-numbers-with-help.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/1256615196192621680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/1256615196192621680'/><link rel='alternate' type='text/html' href='http://salokr.blogspot.com/2013/01/multiplication-of-two-numbers-with-help.html' title='Multiplication Of Two Numbers With Help Of Linked List '/><author><name>Saurabh</name><uri>http://www.blogger.com/profile/12744515394966062206</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/AVvXsEh2wUHl-Z4DZi5TnPknLg_FzfNyipinS9vCft-n06J5r-HGe1WVwgOIAoqNwnmj5vxttoL1rjCi9bCX8pb3E0ilZcYj7CgQAJQ1gBMAsY116jhuvtthmyMKWhwMyliReWghfFE49huFdxY/s72-c/mjlt.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Pandeypur, Uttar Pradesh, India</georss:featurename><georss:point>26.5125521 83.863869099999988</georss:point><georss:box>26.5054476 83.853784099999984 26.5196566 83.873954099999992</georss:box></entry><entry><id>tag:blogger.com,1999:blog-5887008643055529209.post-7286283410025399807</id><published>2012-11-12T08:35:00.001-08:00</published><updated>2012-11-12T08:48:11.923-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="application of linked list"/><category scheme="http://www.blogger.com/atom/ns#" term="battleship"/><category scheme="http://www.blogger.com/atom/ns#" term="games"/><category scheme="http://www.blogger.com/atom/ns#" term="games through C"/><category scheme="http://www.blogger.com/atom/ns#" term="LINKED LIST"/><category scheme="http://www.blogger.com/atom/ns#" term="salokr"/><category scheme="http://www.blogger.com/atom/ns#" term="saurabh"/><category scheme="http://www.blogger.com/atom/ns#" term="saurabh&#39;s blog"/><category scheme="http://www.blogger.com/atom/ns#" term="SINGLY LINKED LIST"/><title type='text'>LINKED LIST IMPLEMENTATION FOR GAME BATTLESHIP THROUGH C</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;u style=&quot;color: orange;&quot;&gt;LINKED LIST IMPLEMENTATION FOR GAME BATTLESHIP THROUGH C&lt;/u&gt;&lt;/span&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;color: black; font-family: sans-serif; font-size: 13px; font-weight: normal; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em; text-align: -webkit-auto; text-decoration: underline;&quot;&gt;
&lt;span style=&quot;background-color: black;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; font-size: 13px; font-weight: normal; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;background-color: black; color: #f3f3f3;&quot;&gt;The game is played on four&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/Grid_(spatial_index)&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial;&quot; title=&quot;Grid (spatial index)&quot;&gt;grids&lt;/a&gt;, two for each player. The grids are typically square – usually 10×10 – and the individual squares in the grid are identified by letter and number.&amp;nbsp;On one grid the player arranges ships and records the shots by the opponent. On the other grid the player records his/her own shots.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; font-size: 13px; font-weight: normal; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;background-color: black; color: #f3f3f3;&quot;&gt;Before play begins, each player secretly arranges their ships on their primary grid. Each ship occupies a number of consecutive squares on the grid, arranged either horizontally or vertically. The number of squares for each ship is determined by the type of the ship. The ships cannot overlap (i.e., only one ship can occupy any given square in the grid). The types and numbers of ships allowed are the same for each player. These may vary depending on the rules.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; font-size: 13px; font-weight: normal; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;background-color: black; color: #f3f3f3;&quot;&gt;REF:-&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/Battleship_(game)&quot; style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 24px; font-weight: bold; line-height: normal; text-align: left;&quot;&gt;http://en.wikipedia.org/wiki/Battleship_(game)&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: sans-serif; font-size: 13px; font-weight: normal; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;background-color: black; color: #f3f3f3;&quot;&gt;I have used Linked List For It&#39;s Implementation One Can Use Array too.....&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3;&quot;&gt;&lt;span style=&quot;font-family: sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;_____________________________________________________________________________________________&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;#include&quot;stdio.h&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;font-family: sans-serif; font-weight: normal; line-height: 19px;&quot;&gt;&lt;span style=&quot;background-color: black; color: #f3f3f3; font-size: small;&quot;&gt;#include&quot;stdlib.h&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;#define n 7&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;#define s 4&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;#define ssz 3&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;typedef struct ll&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;int pos;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;int ship_id;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;struct ll *next;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;}mynode;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;void creatematrix(mynode **hd,int pos);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;int check(mynode **hd,int posn);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;void destructprint(mynode *hd);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;void printmatrix(mynode *hd);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;void placeship(mynode **hd,int posn);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;//////////////////////////////////////////////////////////////////////////////&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;void main()&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;mynode *head=NULL;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;int tried=0,pos,i,j,attempt,st,kill=0;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;clrscr();&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;for(i=1;i&amp;lt;=n;i++)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;for(j=1;j&amp;lt;=n;j++)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;creatematrix(&amp;amp;head,(i*10)+j);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;printmatrix(head);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;printf(&quot;\nPLEASE WAIT PLACING SHIPS !!&quot;);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;for(i=1;i&amp;lt;=s;i++)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;placeship(&amp;amp;head,i);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;printf(&quot;\nREADY...\n&quot;);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;//printmatrix(head);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;//destructprint(head);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;printf(&quot;\nIT&#39;S A 7X7 MATRIX , ENTER NO. OF ATTEMPT YOU WOULD LIKE TO TRY !! OR ENTER 0 FOR DEFAULT NO. OF ATTEMPT=8 &quot;);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;scanf(&quot;%d&quot;,&amp;amp;attempt);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;if(attempt==0||attempt&amp;gt;35)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;attempt=8;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;printf(&quot;\nOK YOU HAVE BEEN GRANTED %d ATTEMPTS&quot;,attempt);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;while(attempt)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;printf(&quot;\nENTER ROW NUMBER &quot;);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;scanf(&quot;%d&quot;,&amp;amp;i);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;printf(&quot;\nENTER COLUMN NUMBER &quot;);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;scanf(&quot;%d&quot;,&amp;amp;j);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;st=check(&amp;amp;head,i*10+j);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;if(st==0||i&amp;lt;0||i&amp;gt;7||j&amp;lt;0||j&amp;gt;7)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;printf(&quot;\nINVALID CHOICE !! RE-ENTER&quot;);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;//destructprint(head);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;continue;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;else if(st==1)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;printf(&quot;\nOMG ! IT&#39;S A KILL , WHOA !!!&quot;);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;kill++;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;//destructprint(head);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;else if(st==2)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;printf(&quot;\nOOOPPPSSS IT&#39;S A MISS&quot;);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;//destructprint(head);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;else if(st==3)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;printf(&quot;\nOK! IT&#39;S HIT&quot;);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;//destructprint(head);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;tried++;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;if(kill==s)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;printf(&quot;\nWHOA ALL SHIPS HAS BEEN SHONKEN , CONGRATS, YOUR SCORE=%d\n&quot;,tried);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;//destructprint(head);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;break;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;attempt--;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;if(kill&amp;lt;s)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;printf(&quot;\nSORRY U HAVE LOST TRY BETTER LUCK NEXT TIME U ATTEMPTED %d TIMES!!\n&quot;,tried);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;//////////////////////////////////////////////////////////////////////////////&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;destructprint(head);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;getch();&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;//////////////////////////////////////////////////////////////////////////////&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;void creatematrix(mynode **hd,int posn)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;//PLAYING FOR 7X7 MATRIX EDIT N AND S FOR MORE&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;mynode *t,*q;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;t=(mynode*)malloc(sizeof(mynode));&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;t-&amp;gt;pos=posn;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;t-&amp;gt;ship_id=0;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;t-&amp;gt;next=NULL;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;if(*hd==NULL)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;*hd=t;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;return;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;q=*hd;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;while(q-&amp;gt;next!=NULL)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;q=q-&amp;gt;next;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;q-&amp;gt;next=t;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;//////////////////////////////////////////////////////////////////////////////&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;void printmatrix(mynode *hd)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;int i,j;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;for(i=1;i&amp;lt;=n;i++)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;for(j=1;j&amp;lt;=n;j++)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;if(hd-&amp;gt;ship_id!=0)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;printf(&quot;%d &quot;,hd-&amp;gt;ship_id);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;else&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;printf(&quot;%d &quot;,hd-&amp;gt;pos);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;hd=hd-&amp;gt;next;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;printf(&quot;\n&quot;);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;//////////////////////////////////////////////////////////////////////////////&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;void placeship(mynode **hd , int s_id)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;int i,r_id,c_id,s_size;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;mynode *p=*hd;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;randomize();&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;while(1)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;s_size=random(ssz-1)+1;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;c_id=random(n)+1;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;r_id=random(n)+1;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;if(n&amp;lt;c_id+s_size-1)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;c_id=c_id-s_size;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;//printf(&quot;\nshipid=%d size=%d r_id=%d c_id=%d\n&quot;,s_id,s_size,r_id,c_id);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;while(p-&amp;gt;pos!=((r_id)*10+c_id))&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;p=p-&amp;gt;next;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;if(p-&amp;gt;ship_id!=0)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;p=*hd;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;continue;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;else break;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;while(s_size)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;p-&amp;gt;ship_id=s_id;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;p=p-&amp;gt;next;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;s_size--;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;//////////////////////////////////////////////////////////////////////////////&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;void destructprint(mynode *hd)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;int i,j;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;mynode *p=hd;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;printf(&quot;\nSHIPS WITH THEIR ID&#39;S , * DENOTES FOR DESTROYED PARTS/SHIPS\n&quot;);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;for(i=1;i&amp;lt;=n;i++)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;for(j=1;j&amp;lt;=n;j++)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;if(i*10+j!=p-&amp;gt;pos)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;printf(&quot;* &quot;);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;continue;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;printf(&quot;%d &quot;,p-&amp;gt;ship_id);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;p=p-&amp;gt;next;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;}//2 for&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;printf(&quot;\n&quot;);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;}//1 for&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;int check(mynode **hd,int posn)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;{ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int k,sid;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;mynode *p=*hd,*prev=*hd;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;mynode *next=p-&amp;gt;next;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;//printf(&quot;\nposn=%d&quot;,posn);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;if(posn&amp;lt;11||posn&amp;gt;n*10+n||posn%10==0)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;return 0;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;if((*hd)-&amp;gt;pos==posn&amp;amp;&amp;amp;(*hd)-&amp;gt;ship_id!=0)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;k=(*hd)-&amp;gt;pos;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;free(*hd);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;*hd=next;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;if(next-&amp;gt;ship_id==0&amp;amp;&amp;amp;next-&amp;gt;ship_id!=k)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;return 1;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;return 3;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;while(p-&amp;gt;next!=NULL)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;p=p-&amp;gt;next;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;next=p-&amp;gt;next;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;if(p-&amp;gt;pos==posn&amp;amp;&amp;amp;p-&amp;gt;ship_id!=0)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;sid=p-&amp;gt;ship_id;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;prev-&amp;gt;next=p-&amp;gt;next;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;free(p);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;if(prev-&amp;gt;ship_id!=sid&amp;amp;&amp;amp;next-&amp;gt;ship_id!=sid)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;return 1;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;return 3;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;else&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;prev=prev-&amp;gt;next;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;return 2;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #f3f3f3; font-family: sans-serif; font-size: small;&quot;&gt;&lt;span style=&quot;background-color: black; font-weight: normal; line-height: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #141414; color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; font-weight: normal; line-height: 18px;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: x-small;&quot;&gt;---------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: #141414; color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; font-weight: normal; line-height: 18px;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: x-small;&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; &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;!!! HOPE U LIKE IT !!!&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: #141414; color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; font-weight: normal; line-height: 18px;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: x-small;&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;!!! &amp;nbsp;THANKS FOR READING !!!&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: #141414; color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; font-weight: normal; line-height: 18px;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee;&quot;&gt;&lt;span style=&quot;font-size: x-small;&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; !!!!!HAPPY PROGRAMMING&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;!!!!!&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: #141414; color: white; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-large; font-weight: normal;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee;&quot;&gt;U Can catch me at&amp;nbsp;&lt;a href=&quot;http://www.facebook.com/salokr&quot; style=&quot;color: white; text-decoration: none;&quot;&gt;http://www.facebook.com/salokr&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/h2&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://salokr.blogspot.com/feeds/7286283410025399807/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://salokr.blogspot.com/2012/11/linked-list-implementation-for-game.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/7286283410025399807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/7286283410025399807'/><link rel='alternate' type='text/html' href='http://salokr.blogspot.com/2012/11/linked-list-implementation-for-game.html' title='LINKED LIST IMPLEMENTATION FOR GAME BATTLESHIP THROUGH C'/><author><name>Saurabh</name><uri>http://www.blogger.com/profile/12744515394966062206</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><georss:featurename>Pandeypur, Uttar Pradesh, India</georss:featurename><georss:point>26.5125521 83.8638691</georss:point><georss:box>26.5090001 83.8589336 26.5161041 83.8688046</georss:box></entry><entry><id>tag:blogger.com,1999:blog-5887008643055529209.post-1675064150005077397</id><published>2012-11-12T08:13:00.006-08:00</published><updated>2012-11-12T08:28:31.600-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ARRAY USE"/><category scheme="http://www.blogger.com/atom/ns#" term="games"/><category scheme="http://www.blogger.com/atom/ns#" term="salokr"/><category scheme="http://www.blogger.com/atom/ns#" term="saurabh"/><category scheme="http://www.blogger.com/atom/ns#" term="saurabh&#39;s blog"/><category scheme="http://www.blogger.com/atom/ns#" term="through c ."/><category scheme="http://www.blogger.com/atom/ns#" term="tic tac toe"/><title type='text'>TIC-TAC-TOE THROUGH C</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;/h2&gt;
&lt;h2 style=&quot;color: orange; font-size: x-large; font-weight: normal; text-align: center;&quot;&gt;
&lt;u&gt;IMPLEMENTATION OF TIC-TAC-TOE THROUGH C :-&lt;/u&gt;&lt;/h2&gt;
&lt;h2 style=&quot;color: orange; font-size: x-large; font-weight: normal; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;h2 style=&quot;font-size: x-large; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large; text-align: left;&quot;&gt;&lt;u&gt;&lt;span style=&quot;color: red;&quot;&gt;From Wikipedia, the free encyclopedia.&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;font-size: x-large; font-weight: normal;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;Tic-tac-toe, originally called noughts and crosses (and still known as this in Britain and Australia), Xs and Os (in Ireland) and X and 0 (in India) is a pencil-and-paper game for two players, X and O, who take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three respective marks in a horizontal, vertical, or diagonal row wins the game.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;The following example game is won by the first player, X:&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;Players soon discover that best play from both parties leads to a draw (often referred to as cat or cat&#39;s game). Hence, tic-tac-toe is most often played by young children.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;The friendliness of tic-tac-toe games makes them ideal as a pedagogical tool for teaching the concepts of good sportsmanship and the branch of artificial intelligence that deals with the searching of game trees. It is straightforward to write a computer program to play tic-tac-toe perfectly, to enumerate the 765 essentially different positions (the state space complexity), or the 26,830 possible games up to rotations and reflections (the game tree complexity) on this space.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;http://en.wikipedia.org/wiki/Tic-tac-toe&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;---------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;#include&amp;lt;string.h&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;int check(int i,int j);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;int winner(void);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;void printmatrix(void);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;int a[3][3];&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;void main()&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;int &amp;nbsp;win,choice,i,posi,posj;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;char pl1[30],pl2[30],str[30];&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;while(1)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;clrscr();&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;printf(&quot;\nEnter 0 to Exit&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;printf(&quot;\nEnter Any Other Number to Play \n&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;scanf(&quot;%d&quot;,&amp;amp;choice);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;if(!choice)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;break;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;win=100;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;for(posi=0;posi&amp;lt;=2;posi++)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;for(posj=0;posj&amp;lt;=2;posj++)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;a[posi][posj]=win++;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;printmatrix();&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;printf(&quot;\nWELCOME TO TIC-TAC-TOE&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;printf(&quot;\nENTER PLAYER 1 NAME WHO WILL PLAY X AND STARTS GAME &quot;);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;fflush(stdin);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;gets(pl1);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;printf(&quot;\nENTER PLAYER 2 NAME WHO WILL PLAY O &quot;);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;gets(pl2);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;for(i=1;i&amp;lt;=9;i++)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;if(i%2!=0)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;strcpy(str,pl1);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;else&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;strcpy(str,pl2);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;printf(&quot;\n%s ENTER ROW NUMBER &quot;,str);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;scanf(&quot;%d&quot;,&amp;amp;posi);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;printf(&quot;\n%s ENTER COLUMN NUMBER &quot;,str);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;scanf(&quot;%d&quot;,&amp;amp;posj);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;if(check((posi-1),(posj-1)))&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;while(check(posi-1,posj-1))&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;printf(&quot;\nINVALID CHOICE , RE-ENTER&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;printf(&quot;\nENTER ROW NUMBER &quot;);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;scanf(&quot;%d&quot;,&amp;amp;posi);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;printf(&quot;\nENTER COLUMN NUMBER &quot;);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;scanf(&quot;%d&quot;,&amp;amp;posj);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;}//while&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;}//if&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;if(i%2!=0)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;a[posi-1][posj-1]=1;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;else&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;a[posi-1][posj-1]=0;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;clrscr();&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;printmatrix();&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;win=winner();&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;if(win==1)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;printf(&quot;\nPLAYER 1 WINS &quot;);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;break;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;else if(win==2)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;printf(&quot;\nPLAYER 2 WINS &quot;);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;break;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;}//for&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;clrscr();&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;printf(&quot;\n\n\tHERE IS THE RESULT\n&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;for(i=1;i&amp;lt;=80;i++)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;printf(&quot;-&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;printmatrix();&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;for(i=1;i&amp;lt;=80;i++)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;printf(&quot;-&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;win=winner();&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;if(win==0)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;printf(&quot;\nOOPS IT&#39;S A DRAW&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;else if(win==1)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;printf(&quot;\n%s IS WINNER&quot;,pl1);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;else&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;printf(&quot;\n%s IS WINNER&quot;,pl2);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;delay(5000);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;}//main&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;int check(int i ,int j)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;if(a[i][j]==0||a[i][j]==1||i&amp;lt;0||i&amp;gt;2||j&amp;lt;0||j&amp;gt;2)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;return 1;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;return 0;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;void printmatrix(void)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;int i,j;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;for(i=0;i&amp;lt;=2;i++)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;for(j=0;j&amp;lt;=2;j++)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;if(a[i][j]==0)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;printf(&quot;\t\tO\t|&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;else if(a[i][j]==1)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;printf(&quot;\t\tX\t|&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;else&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;printf(&quot;\t\t \t|&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;printf(&quot;\t\t\n&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;int winner()&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;int i;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;for(i=0;i&amp;lt;=2;i++)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;if((a[i][0]==a[i][1]&amp;amp;&amp;amp;a[i][0]==a[i][2])&amp;amp;&amp;amp;(a[i][0]!=0||a[i][0]!=1))&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;if(a[i][0]==1)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;return 1;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;return 2;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;}//if&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;if((a[0][i]==a[1][i]&amp;amp;&amp;amp;a[0][i]==a[2][i])&amp;amp;&amp;amp;(a[i][0]!=0||a[i][0]!=1))&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;if(a[0][i]==1)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;return 1;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;return 2;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;}//if&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;}//for&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;//CHECK FOR DIAGONAL ELEMENT&#39;S&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;if((a[1][1]==a[2][2]&amp;amp;&amp;amp;a[2][2]==a[0][0])&amp;amp;&amp;amp;(a[1][1]!=0||a[1][1]!=1))&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;if(a[1][1]==1)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;return 1;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;return 2;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;if((a[0][2]==a[1][1]&amp;amp;&amp;amp;a[1][1]==a[2][0])&amp;amp;&amp;amp;(a[2][0]!=0||a[2][0]!=1))&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;if(a[1][3]==1)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;return 1;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;return 2;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;}//if&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;return 0;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&quot;&gt;---------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&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; &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;!!! HOPE U LIKE IT !!!&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-size: small; font-weight: normal;&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;!!! &amp;nbsp;THANKS FOR READING !!!&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; !!!!!HAPPY PROGRAMMING &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;!!!!!&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-size: x-large; text-align: left;&quot;&gt;
&lt;div style=&quot;display: inline !important;&quot;&gt;
&lt;span style=&quot;color: #eeeeee;&quot;&gt;U Can catch me at &lt;a href=&quot;http://www.facebook.com/salokr&quot;&gt;http://www.facebook.com/salokr&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://salokr.blogspot.com/feeds/1675064150005077397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://salokr.blogspot.com/2012/11/tic-tac-toe-through-c_1883.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/1675064150005077397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/1675064150005077397'/><link rel='alternate' type='text/html' href='http://salokr.blogspot.com/2012/11/tic-tac-toe-through-c_1883.html' title='TIC-TAC-TOE THROUGH C'/><author><name>Saurabh</name><uri>http://www.blogger.com/profile/12744515394966062206</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><georss:featurename>Pandeypur, Uttar Pradesh, India</georss:featurename><georss:point>26.5125521 83.8638691</georss:point><georss:box>26.5090001 83.8589336 26.5161041 83.8688046</georss:box></entry><entry><id>tag:blogger.com,1999:blog-5887008643055529209.post-1896529122033759452</id><published>2012-10-28T02:06:00.001-07:00</published><updated>2012-10-28T02:06:13.422-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="application of linked list"/><category scheme="http://www.blogger.com/atom/ns#" term="data strucures"/><category scheme="http://www.blogger.com/atom/ns#" term="interview questions"/><category scheme="http://www.blogger.com/atom/ns#" term="LINKED LIST"/><category scheme="http://www.blogger.com/atom/ns#" term="REVERSING LINKED LIST"/><category scheme="http://www.blogger.com/atom/ns#" term="salokr"/><category scheme="http://www.blogger.com/atom/ns#" term="saurabh&#39;s blog"/><category scheme="http://www.blogger.com/atom/ns#" term="SINGLY LINKED LIST"/><title type='text'>DATA STRUCTURES INTERVIEW QUESTIONS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;u&gt;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;LINKED LIST INTERVIEW QUESTIONS&lt;/span&gt;&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;/h2&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Here Is One Of Most Asked Interview Question On Linked List !&lt;br /&gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
We Have Given A List With Following Data :-&lt;br /&gt;1-&amp;gt;2-&amp;gt;3-&amp;gt;4-&amp;gt;5-&amp;gt;6-&amp;gt;7-&amp;gt;8-&amp;gt;9-&amp;gt;10 and k=3&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Then Output Should Be :-&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
4-&amp;gt;3-&amp;gt;2-&amp;gt;1-&amp;gt;5-&amp;gt;6-&amp;gt;7-&amp;gt;8-&amp;gt;9-&amp;gt;10&lt;br /&gt;------------------------------------------------------------------------------------------------------------------&lt;br /&gt;Here Is A Solution To This Problem:-&lt;br /&gt;------------------------------------------------------------------------------------------------------------------&lt;br /&gt;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;#include&amp;lt;stdlib.h&amp;gt;&lt;br /&gt;typedef struct ll&lt;br /&gt;{&lt;br /&gt;int data;&lt;br /&gt;struct ll *next;&lt;br /&gt;}mynode;&lt;br /&gt;mynode *start;&lt;br /&gt;void placestart(mynode **hd,int c);&lt;br /&gt;int numofnodes(mynode *hd);&lt;br /&gt;void addnode(mynode **hd,int data);&lt;br /&gt;void revinstyle(mynode **hd,int nonr);&lt;br /&gt;void printall(mynode *hd);&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;int ch,data,nonr,count;&lt;br /&gt;mynode *head=NULL;&lt;br /&gt;clrscr();&lt;br /&gt;do&lt;br /&gt;{&lt;br /&gt;printf(&quot;\n1.Add Data&quot;);&lt;br /&gt;printf(&quot;\n2.Enough! Continue To Reversing&amp;nbsp; &quot;);&lt;br /&gt;printf(&quot;\n3.Traverse&quot;);&lt;br /&gt;printf(&quot;\n4.Exit&quot;);&lt;br /&gt;printf(&quot;\nEnter Choice &quot;);&lt;br /&gt;scanf(&quot;%d&quot;,&amp;amp;ch);&lt;br /&gt;switch(ch)&lt;br /&gt;{&lt;br /&gt;case 1:&lt;br /&gt;clrscr();&lt;br /&gt;printf(&quot;\n Enter Data &quot;);&lt;br /&gt;scanf(&quot;%d&quot;,&amp;amp;data);&lt;br /&gt;addnode(&amp;amp;head,data);&lt;br /&gt;break;&lt;br /&gt;case 3:&lt;br /&gt;printall(head);&lt;br /&gt;break;&lt;br /&gt;case 4:&lt;br /&gt;exit(0);&lt;br /&gt;break;&lt;br /&gt;}//switch&lt;br /&gt;} while(ch!=2);&lt;br /&gt;&lt;br /&gt;/////////////////////////////////////////////////////////////////////////////&lt;br /&gt;clrscr();&lt;br /&gt;printf(&quot;\nEnter Number Of Nodes Of To Be Reversed &quot;);&lt;br /&gt;scanf(&quot;%d&quot;,&amp;amp;nonr);&lt;br /&gt;count=numofnodes(head);&lt;br /&gt;printf(&quot;NUM OF NODES = %d And Number Of Nodes To Be Reversed=%d&quot;,count,nonr);&lt;br /&gt;if(count&amp;lt;=nonr||count==1||count==0)&lt;br /&gt;{&lt;br /&gt;printf(&quot;\nOperation Can&#39;t Be Applied , Insufficient Data&quot;);&lt;br /&gt;getch();&lt;br /&gt;exit(0);&lt;br /&gt;}&lt;br /&gt;printf(&quot;\n\n&quot;);&lt;br /&gt;printf(&quot;\nBefore Operation \n&quot;);&lt;br /&gt;printall(head);&lt;br /&gt;placestart(&amp;amp;head,nonr);&lt;br /&gt;//printf(&quot;\nDATA FROM START=%d\n&quot;,start-&amp;gt;data);&lt;br /&gt;printf(&quot;\n\n&quot;);&lt;br /&gt;revinstyle(&amp;amp;head,nonr);&lt;br /&gt;printf(&quot;\nDATA FROM REVERSED LIST\n&quot;);&lt;br /&gt;printall(head);&lt;br /&gt;&lt;br /&gt;printf(&quot;\n\n&quot;);&lt;br /&gt;printf(&quot;\nDATA FROM REMAINING OF LIST \n&quot;);&lt;br /&gt;printall(start);&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
getch();&lt;br /&gt;}&lt;br /&gt;void placestart(mynode **hd,int c)&lt;br /&gt;{&lt;br /&gt;start=*hd;&lt;br /&gt;while(c)&lt;br /&gt;{&lt;br /&gt;start=start-&amp;gt;next;&lt;br /&gt;c--;&lt;br /&gt;}&lt;br /&gt;start=start-&amp;gt;next;&lt;br /&gt;}&lt;br /&gt;void revinstyle(mynode **hd,int nonr)&lt;br /&gt;{&lt;br /&gt;mynode *p,*q,*r;&lt;br /&gt;if(*hd==NULL)&lt;br /&gt;{&lt;br /&gt;printf(&quot;\nNothing In List&quot;);&lt;br /&gt;return;&lt;br /&gt;}&lt;br /&gt;p=*hd;&lt;br /&gt;if((*hd)-&amp;gt;next==NULL)&lt;br /&gt;{&lt;br /&gt;printf(&quot;Single Data Only&quot;);&lt;br /&gt;return;&lt;br /&gt;}&lt;br /&gt;q=(*hd)-&amp;gt;next;&lt;br /&gt;//printf(&quot;nonor=%d&quot;,nonr);&lt;br /&gt;if(q-&amp;gt;next==NULL&amp;amp;&amp;amp;nonr==1)&lt;br /&gt;{&lt;br /&gt;//printf(&quot;\nhead=%d&quot;,(*hd)-&amp;gt;next);&lt;br /&gt;q-&amp;gt;next=*hd;&lt;br /&gt;(*hd)-&amp;gt;next=NULL;&lt;br /&gt;//printf(&quot;\nafter head=%d&quot;,(*hd)-&amp;gt;next);&lt;br /&gt;*hd=q;&lt;br /&gt;return;&lt;br /&gt;}//&lt;br /&gt;r=q-&amp;gt;next;&lt;br /&gt;while(nonr)&lt;br /&gt;{&lt;br /&gt;q-&amp;gt;next=p;&lt;br /&gt;p=q;&lt;br /&gt;q=r;&lt;br /&gt;r=r-&amp;gt;next;&lt;br /&gt;nonr--;&lt;br /&gt;}//while&lt;br /&gt;(*hd)-&amp;gt;next=NULL;&lt;br /&gt;*hd=p;&lt;br /&gt;}&lt;br /&gt;int numofnodes(mynode *hd)&lt;br /&gt;{&lt;br /&gt;int c=0;&lt;br /&gt;if(hd==NULL)&lt;br /&gt;return 0;&lt;br /&gt;while(hd!=NULL)&lt;br /&gt;{&lt;br /&gt;c++;&lt;br /&gt;hd=hd-&amp;gt;next;&lt;br /&gt;}&lt;br /&gt;return c;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void printall(mynode *hd)&lt;br /&gt;{&lt;br /&gt;printf(&quot;\n\n&quot;);&lt;br /&gt;if(hd==NULL)&lt;br /&gt;{&lt;br /&gt;printf(&quot;\nNOTHING !&quot;);&lt;br /&gt;return;&lt;br /&gt;}&lt;br /&gt;while(hd!=NULL)&lt;br /&gt;{&lt;br /&gt;printf(&quot;%d,&quot;,hd-&amp;gt;data);&lt;br /&gt;hd=hd-&amp;gt;next;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void addnode(mynode **hd,int data)&lt;br /&gt;{&lt;br /&gt;mynode *p,*q;&lt;br /&gt;p=(mynode*)malloc(sizeof(mynode));&lt;br /&gt;p-&amp;gt;data=data;&lt;br /&gt;p-&amp;gt;next=NULL;&lt;br /&gt;if(*hd==NULL)&lt;br /&gt;{&lt;br /&gt;(*hd)=p;&lt;br /&gt;return;&lt;br /&gt;}&lt;br /&gt;q=*hd;&lt;br /&gt;while(q-&amp;gt;next!=NULL)&lt;br /&gt;q=q-&amp;gt;next;&lt;br /&gt;q-&amp;gt;next=p;&lt;br /&gt;}&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
----------------------------------------------------------------------------------------------------------------&lt;br /&gt;&lt;span style=&quot;font-family: Verdana; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana; font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana; font-size: xx-small;&quot;&gt;&lt;div align=&quot;justify&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 10px; margin-right: 10px; margin-top: 5px;&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;&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; !!! HOPE U LIKE IT !!! 
&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;text_exposed_show&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; !!!&amp;nbsp; THANKS FOR READING !!!&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; !!!!!HAPPY PROGRAMMING !!!!!&lt;/div&gt;
U Can catch me at &lt;a href=&quot;http://www.facebook.com/salokr&quot;&gt;http://www.facebook.com/salokr&lt;/a&gt;&lt;br /&gt;----------------------------------------------------------------------------------------------------------------&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://salokr.blogspot.com/feeds/1896529122033759452/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://salokr.blogspot.com/2012/10/data-structures-interview-questions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/1896529122033759452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/1896529122033759452'/><link rel='alternate' type='text/html' href='http://salokr.blogspot.com/2012/10/data-structures-interview-questions.html' title='DATA STRUCTURES INTERVIEW QUESTIONS'/><author><name>Saurabh</name><uri>http://www.blogger.com/profile/12744515394966062206</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><georss:featurename>Pandeypur, Uttar Pradesh, India</georss:featurename><georss:point>26.5125521 83.8638691</georss:point><georss:box>26.5090001 83.8589336 26.5161041 83.8688046</georss:box></entry><entry><id>tag:blogger.com,1999:blog-5887008643055529209.post-8727022314644627858</id><published>2012-09-01T12:16:00.002-07:00</published><updated>2012-09-01T12:16:33.024-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="application of linked list"/><category scheme="http://www.blogger.com/atom/ns#" term="c"/><category scheme="http://www.blogger.com/atom/ns#" term="c program"/><category scheme="http://www.blogger.com/atom/ns#" term="data strucures"/><category scheme="http://www.blogger.com/atom/ns#" term="LINKED LIST"/><category scheme="http://www.blogger.com/atom/ns#" term="queue"/><category scheme="http://www.blogger.com/atom/ns#" term="salokr"/><category scheme="http://www.blogger.com/atom/ns#" term="saurabh"/><category scheme="http://www.blogger.com/atom/ns#" term="SINGLY LINKED LIST"/><title type='text'>QUEUE IMPLEMENTATION USING LINKED LIST</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;background-color: black; text-align: justify;&quot;&gt;
&lt;i&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: #e69138; color: red; text-align: center;&quot;&gt;
&lt;u&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif; font-weight: normal;&quot;&gt;IMPLEMENTATION OF QUEUE BY LINKED LIST&lt;/span&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;/span&gt;&lt;i&gt;&lt;br /&gt;

 &lt;/i&gt;&lt;/u&gt;&lt;/h2&gt;
&lt;div style=&quot;background-color: black; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black; font-family: Arial,Helvetica,sans-serif; text-align: justify;&quot;&gt;
&lt;i&gt;&lt;b&gt;&lt;span style=&quot;color: #f1c232;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;font-size: x-large;&quot;&gt;I&lt;/span&gt;n &lt;/span&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Computer_science&quot; style=&quot;color: #f1c232;&quot; title=&quot;Computer science&quot;&gt;computer science&lt;/a&gt;&lt;span style=&quot;color: #f1c232;&quot;&gt;, a &lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;color: #f1c232;&quot;&gt;queue &lt;span class=&quot;nowrap&quot;&gt;&lt;span title=&quot;pronunciation:&quot;&gt;&lt;/span&gt;&lt;span class=&quot;IPA&quot; title=&quot;Representation in the International Phonetic Alphabet (IPA)&quot;&gt;&lt;/span&gt;&lt;span class=&quot;IPA&quot;&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Wikipedia:IPA_for_English#Key&quot; title=&quot;Wikipedia:IPA for English&quot;&gt;&lt;span style=&quot;border-bottom: 1px dotted;&quot; title=&quot;/ˈ/ primary stress follows&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;IPA&quot;&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Wikipedia:IPA_for_English#Key&quot; title=&quot;Wikipedia:IPA for English&quot;&gt;&lt;span style=&quot;border-bottom: 1px dotted;&quot; title=&quot;&#39;k&#39; in &#39;kind&#39;&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;IPA&quot;&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Wikipedia:IPA_for_English#Key&quot; title=&quot;Wikipedia:IPA for English&quot;&gt;&lt;span style=&quot;border-bottom: 1px dotted;&quot; title=&quot;/juː/ long &#39;u&#39; in &#39;cute&#39;&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;IPA&quot; title=&quot;Representation in the International Phonetic Alphabet (IPA)&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Unicode&quot; title=&quot;English pronunciation respelling&quot;&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Wikipedia:Pronunciation_respelling_key&quot; title=&quot;Wikipedia:Pronunciation respelling key&quot;&gt;&lt;span class=&quot;smallcaps&quot;&gt;&lt;span class=&quot;SMALLCAPS&quot; style=&quot;font-variant: SMALL-CAPS;&quot;&gt;&lt;span class=&quot;NOCAPS&quot; style=&quot;text-transform: LOWERCASE;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;is a particular kind of &lt;a href=&quot;http://en.wikipedia.org/wiki/Abstract_data_type&quot; title=&quot;Abstract data type&quot;&gt;abstract data type&lt;/a&gt; or &lt;a class=&quot;mw-redirect&quot; href=&quot;http://en.wikipedia.org/wiki/Collection_%28computing%29&quot; title=&quot;Collection (computing)&quot;&gt;collection&lt;/a&gt;
 in which the entities in the collection are kept in order and the 
principal (or only) operations on the collection are the addition of 
entities to the rear and removal of entities from the 
front. This makes the queue a &lt;a class=&quot;mw-redirect&quot; href=&quot;http://en.wikipedia.org/wiki/FIFO_%28computing%29&quot; title=&quot;FIFO (computing)&quot;&gt;First-In-First-Out (FIFO) data structure&lt;/a&gt;.
 In a FIFO data structure, the first element added to the queue will be 
the first one to be removed. This is equivalent to the requirement that 
once an element is added, all elements that were added before have to be
 removed before the new element can be invoked. A queue is an example of
 a &lt;a href=&quot;http://en.wikipedia.org/wiki/List_of_data_structures#Linear_data_structures&quot; title=&quot;List of data structures&quot;&gt;linear data structure&lt;/a&gt;.&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #f1c232; font-family: Arial,Helvetica,sans-serif; text-align: justify;&quot;&gt;
&lt;i&gt;&lt;b&gt;Queues provide services in &lt;a href=&quot;http://en.wikipedia.org/wiki/Computer_science&quot; title=&quot;Computer science&quot;&gt;computer science&lt;/a&gt;, &lt;a href=&quot;http://en.wikipedia.org/wiki/Transport&quot; title=&quot;Transport&quot;&gt;transport&lt;/a&gt;, and &lt;a href=&quot;http://en.wikipedia.org/wiki/Operations_research&quot; title=&quot;Operations research&quot;&gt;operations research&lt;/a&gt;
 where various entities such as data, objects, persons, or events are 
stored and held to be processed later. In these contexts, the queue 
performs the function of a &lt;a class=&quot;mw-redirect&quot; href=&quot;http://en.wikipedia.org/wiki/Buffer_%28computer_science%29&quot; title=&quot;Buffer (computer science)&quot;&gt;buffer&lt;/a&gt;.&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #f1c232; font-family: Arial,Helvetica,sans-serif; text-align: justify;&quot;&gt;
&lt;i&gt;&lt;b&gt;Queues are common in computer programs, where they are implemented as data structures coupled with access routines, as an &lt;a class=&quot;mw-redirect&quot; href=&quot;http://en.wikipedia.org/wiki/Abstract_data_structure&quot; title=&quot;Abstract data structure&quot;&gt;abstract data structure&lt;/a&gt; or in object-oriented languages as classes. Common implementations are &lt;a href=&quot;http://en.wikipedia.org/wiki/Circular_buffer&quot; title=&quot;Circular buffer&quot;&gt;circular buffers&lt;/a&gt; and &lt;a href=&quot;http://en.wikipedia.org/wiki/Linked_list&quot; title=&quot;Linked list&quot;&gt;linked lists&lt;/a&gt;.&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: #f1c232;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
[&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: orange;&quot;&gt;Courtsey:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: cyan;&quot;&gt; &lt;span style=&quot;font-size: large;&quot;&gt;Wikipedia.org&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;
  &lt;/span&gt;
&lt;/div&gt;
&lt;h2 style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;#include&amp;lt;stdlib.h&amp;gt;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;typedef struct ll&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;{&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp; int digit;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp; struct ll *next;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;}mynode;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;void addnode(mynode **hd,int data);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;void delnode(mynode **hd);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;void traverse(mynode *hd);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;void findnode(mynode *hd,int data);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;mynode *head,*front,*rear,*prev,*new1;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;void main()&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp; int data,i,choice;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp; clrscr();&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp; head=(mynode*)malloc(sizeof(mynode));&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp; head-&amp;gt;next=NULL;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp; while(1)&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp; { printf(&quot;\n\n\n\n\n\n&quot;);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0;i&amp;lt;80;i++)&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;_&quot;);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\t\t\t1.ADD NODE&quot;);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\t\t\t2.DELETE NODE&quot;);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\t\t\t3.TRAVERSE LIST&quot;);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\t\t\t4.SEARCH NODE&quot;);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\t\t\t5.EXIT&quot;);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\n&quot;);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0;i&amp;lt;80;i++)&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;_&quot;);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\t\t\tENTER CHOICE: &quot;);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;choice);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; switch(choice)&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case 1: printf(&quot;\n\t\t\tEnter Data To Add: &quot;);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;data);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; addnode(&amp;amp;head,data);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case 2: delnode(&amp;amp;head);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case 3: traverse(head);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case 4: printf(&quot;\n\t\t\tEnter Data To Search: &quot;);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;data);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; findnode(head,data);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case 5: printf(&quot;\n\t\t\tTHANKS FOR SPENDING TIME WITH ME \1 !!!\n &quot;);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\t\t\tGOOD DAY!!&quot;);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; getch();&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit(0);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; default: clrscr();&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\t\t\tINVALID CHOICE BUDDY!! PLEASE RE-ENTER!! &quot;);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }//switch&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp; }//while&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;void addnode(mynode **hd,int data)&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;clrscr();&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;new1=(mynode*)malloc(sizeof(mynode));&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;new1-&amp;gt;next=NULL;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;new1-&amp;gt;digit=data;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if((*hd)-&amp;gt;next==NULL)&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rear=*hd;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rear-&amp;gt;next=new1;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\t\t\tFIRST DATA %d HAS BEEN ENTERED&quot;,data);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rear=rear-&amp;gt;next;//new&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp; rear-&amp;gt;next=new1;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp; rear=new1;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp; printf(&quot;\n\t\t\tDATA %d HAS BEEN ADDED&quot;,data);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;void delnode(mynode **hd)&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;{ int i;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp; clrscr();&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;front=prev=*hd;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp; if((*hd)-&amp;gt;next==NULL)&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\t\t\tTHE LIST IS EMPTY!&quot;) ;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp; if((*hd)-&amp;gt;next-&amp;gt;next==NULL)&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; prev=prev-&amp;gt;next;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; free(prev);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; front-&amp;gt;next=NULL;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\t\t\t&quot;);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0;i&amp;lt;35;i++)&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;_&quot;);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\t\t\tWARNING: FIRST NODE %d IS DELETED!!&quot;,prev-&amp;gt;digit);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\t\t\t&quot;);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0;i&amp;lt;35;i++)&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;_&quot;);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; prev&amp;nbsp; = (*hd)-&amp;gt;next;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; front = prev-&amp;gt;next;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\t\t\tDATA %d IS TERMINATED!!&quot;,prev-&amp;gt;digit);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; free(prev);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (*hd)-&amp;gt;next = front;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;void findnode(mynode *hd,int data)&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;clrscr();&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;rear=hd;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(rear-&amp;gt;next==NULL)&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; { printf(&quot;\n\t\t\tNO DATA IS PRESENT IN THE LIST.&quot;);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(rear-&amp;gt;next!=NULL)&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rear=rear-&amp;gt;next;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(rear-&amp;gt;digit==data)&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; { printf(&quot;\n\t\t\tDATA %d HAS BEEN FOUND!&quot;,data);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; return;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp; printf(&quot;\n\t\t\tDATA %d IS ABSENT!&quot;,data);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;void traverse(mynode *hd)&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;clrscr();&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;rear=hd;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(rear-&amp;gt;next==NULL)&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;printf(&quot;\n\t\t\tLIST IS EMPTY.&quot;);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;return;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\t\t\tFOLLOWING DATA HAS BEEN FOUND: &quot;);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(rear-&amp;gt;next!=NULL)&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; { rear=rear-&amp;gt;next;&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;%d &quot;,rear-&amp;gt;digit);&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red; font-weight: normal;&quot;&gt;}&lt;/span&gt;&lt;br style=&quot;color: red; font-weight: normal;&quot; /&gt;
  &lt;span style=&quot;color: red;&quot;&gt;Edited By &lt;a href=&quot;http://www.facebook.com/Sarvesh.Saffron&quot;&gt;Sarvesh Prajapati&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/h2&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://salokr.blogspot.com/feeds/8727022314644627858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://salokr.blogspot.com/2012/09/queue-implementation-using-linked-list.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/8727022314644627858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/8727022314644627858'/><link rel='alternate' type='text/html' href='http://salokr.blogspot.com/2012/09/queue-implementation-using-linked-list.html' title='QUEUE IMPLEMENTATION USING LINKED LIST'/><author><name>Saurabh</name><uri>http://www.blogger.com/profile/12744515394966062206</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><georss:featurename>Agra, Uttar Pradesh, India</georss:featurename><georss:point>27.1766701 78.0080745</georss:point><georss:box>27.1201671 77.929110500000007 27.2331731 78.0870385</georss:box></entry><entry><id>tag:blogger.com,1999:blog-5887008643055529209.post-3337488746927752570</id><published>2012-08-25T13:25:00.001-07:00</published><updated>2012-08-25T13:43:47.702-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="LIFO"/><category scheme="http://www.blogger.com/atom/ns#" term="LINKED LIST"/><category scheme="http://www.blogger.com/atom/ns#" term="salokr&#39;s"/><category scheme="http://www.blogger.com/atom/ns#" term="saurabh&#39;s blog"/><category scheme="http://www.blogger.com/atom/ns#" term="Stack"/><title type='text'>STACK IMPLEMENTATION USING LINKED LIST</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;background-color: black;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black; text-align: center;&quot;&gt;
&lt;link href=&quot;file:///C:%5CUsers%5Chunter%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml&quot; rel=&quot;File-List&quot;&gt;&lt;/link&gt;&lt;link href=&quot;file:///C:%5CUsers%5Chunter%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx&quot; rel=&quot;themeData&quot;&gt;&lt;/link&gt;&lt;link href=&quot;file:///C:%5CUsers%5Chunter%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml&quot; rel=&quot;colorSchemeMapping&quot;&gt;&lt;/link&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:TrackMoves/&gt;
  &lt;w:TrackFormatting/&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:DoNotPromoteQF/&gt;
  &lt;w:LidThemeOther&gt;EN-US&lt;/w:LidThemeOther&gt;
  &lt;w:LidThemeAsian&gt;X-NONE&lt;/w:LidThemeAsian&gt;
  &lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
   &lt;w:SplitPgBreakAndParaMark/&gt;
   &lt;w:DontVertAlignCellWithSp/&gt;
   &lt;w:DontBreakConstrainedForcedTables/&gt;
   &lt;w:DontVertAlignInTxbx/&gt;
   &lt;w:Word11KerningPairs/&gt;
   &lt;w:CachedColBalance/&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
  &lt;m:mathPr&gt;
   &lt;m:mathFont m:val=&quot;Cambria Math&quot;/&gt;
   &lt;m:brkBin m:val=&quot;before&quot;/&gt;
   &lt;m:brkBinSub m:val=&quot;--&quot;/&gt;
   &lt;m:smallFrac m:val=&quot;off&quot;/&gt;
   &lt;m:dispDef/&gt;
   &lt;m:lMargin m:val=&quot;0&quot;/&gt;
   &lt;m:rMargin m:val=&quot;0&quot;/&gt;
   &lt;m:defJc m:val=&quot;centerGroup&quot;/&gt;
   &lt;m:wrapIndent m:val=&quot;1440&quot;/&gt;
   &lt;m:intLim m:val=&quot;subSup&quot;/&gt;
   &lt;m:naryLim m:val=&quot;undOvr&quot;/&gt;
  &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState=&quot;false&quot; DefUnhideWhenUsed=&quot;true&quot;
  DefSemiHidden=&quot;true&quot; DefQFormat=&quot;false&quot; DefPriority=&quot;99&quot;
  LatentStyleCount=&quot;267&quot;&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;0&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Normal&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;heading 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 7&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 8&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 9&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 7&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 8&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 9&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;35&quot; QFormat=&quot;true&quot; Name=&quot;caption&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;10&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Title&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;1&quot; Name=&quot;Default Paragraph Font&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;11&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtitle&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;22&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Strong&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;20&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Emphasis&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;59&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Table Grid&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; UnhideWhenUsed=&quot;false&quot; Name=&quot;Placeholder Text&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;1&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;No Spacing&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; UnhideWhenUsed=&quot;false&quot; Name=&quot;Revision&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;34&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;List Paragraph&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;29&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Quote&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;30&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Quote&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;19&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtle Emphasis&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;21&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Emphasis&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;31&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtle Reference&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;32&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Reference&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;33&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Book Title&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;37&quot; Name=&quot;Bibliography&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; QFormat=&quot;true&quot; Name=&quot;TOC Heading&quot;/&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:&quot;Cambria Math&quot;;
	panose-1:2 4 5 3 5 4 6 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:roman;
	mso-font-pitch:variable;
	mso-font-signature:-1610611985 1107304683 0 0 415 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-520092929 1073786111 9 0 415 0;}
@font-face
	{font-family:&quot;Agency FB&quot;;
	panose-1:2 11 5 3 2 2 2 2 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:3 0 0 0 1 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-parent:&quot;&quot;;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:10.0pt;
	margin-left:0in;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;}
.MsoChpDefault
	{mso-style-type:export-only;
	mso-default-props:yes;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;}
.MsoPapDefault
	{mso-style-type:export-only;
	margin-bottom:10.0pt;
	line-height:115%;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
--&gt;
&lt;/style&gt;&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:&quot;Table Normal&quot;;
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-priority:99;
	mso-style-qformat:yes;
	mso-style-parent:&quot;&quot;;
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin-top:0in;
	mso-para-margin-right:0in;
	mso-para-margin-bottom:10.0pt;
	mso-para-margin-left:0in;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:&quot;Times New Roman&quot;;
	mso-fareast-theme-font:minor-fareast;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;}
&lt;/style&gt;
&lt;![endif]--&gt;

&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;link href=&quot;file:///C:%5CUsers%5Chunter%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml&quot; rel=&quot;File-List&quot;&gt;&lt;/link&gt;&lt;link href=&quot;file:///C:%5CUsers%5Chunter%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx&quot; rel=&quot;themeData&quot;&gt;&lt;/link&gt;&lt;link href=&quot;file:///C:%5CUsers%5Chunter%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml&quot; rel=&quot;colorSchemeMapping&quot;&gt;&lt;/link&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:TrackMoves/&gt;
  &lt;w:TrackFormatting/&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:DoNotPromoteQF/&gt;
  &lt;w:LidThemeOther&gt;EN-US&lt;/w:LidThemeOther&gt;
  &lt;w:LidThemeAsian&gt;X-NONE&lt;/w:LidThemeAsian&gt;
  &lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
   &lt;w:SplitPgBreakAndParaMark/&gt;
   &lt;w:DontVertAlignCellWithSp/&gt;
   &lt;w:DontBreakConstrainedForcedTables/&gt;
   &lt;w:DontVertAlignInTxbx/&gt;
   &lt;w:Word11KerningPairs/&gt;
   &lt;w:CachedColBalance/&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
  &lt;m:mathPr&gt;
   &lt;m:mathFont m:val=&quot;Cambria Math&quot;/&gt;
   &lt;m:brkBin m:val=&quot;before&quot;/&gt;
   &lt;m:brkBinSub m:val=&quot;--&quot;/&gt;
   &lt;m:smallFrac m:val=&quot;off&quot;/&gt;
   &lt;m:dispDef/&gt;
   &lt;m:lMargin m:val=&quot;0&quot;/&gt;
   &lt;m:rMargin m:val=&quot;0&quot;/&gt;
   &lt;m:defJc m:val=&quot;centerGroup&quot;/&gt;
   &lt;m:wrapIndent m:val=&quot;1440&quot;/&gt;
   &lt;m:intLim m:val=&quot;subSup&quot;/&gt;
   &lt;m:naryLim m:val=&quot;undOvr&quot;/&gt;
  &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState=&quot;false&quot; DefUnhideWhenUsed=&quot;true&quot;
  DefSemiHidden=&quot;true&quot; DefQFormat=&quot;false&quot; DefPriority=&quot;99&quot;
  LatentStyleCount=&quot;267&quot;&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;0&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Normal&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;heading 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 7&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 8&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 9&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 7&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 8&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 9&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;35&quot; QFormat=&quot;true&quot; Name=&quot;caption&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;10&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Title&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;1&quot; Name=&quot;Default Paragraph Font&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;11&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtitle&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;22&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Strong&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;20&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Emphasis&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;59&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Table Grid&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; UnhideWhenUsed=&quot;false&quot; Name=&quot;Placeholder Text&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;1&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;No Spacing&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; UnhideWhenUsed=&quot;false&quot; Name=&quot;Revision&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;34&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;List Paragraph&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;29&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Quote&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;30&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Quote&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;19&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtle Emphasis&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;21&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Emphasis&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;31&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtle Reference&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;32&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Reference&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;33&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Book Title&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;37&quot; Name=&quot;Bibliography&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; QFormat=&quot;true&quot; Name=&quot;TOC Heading&quot;/&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:&quot;Cambria Math&quot;;
	panose-1:2 4 5 3 5 4 6 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:roman;
	mso-font-pitch:variable;
	mso-font-signature:-1610611985 1107304683 0 0 415 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-520092929 1073786111 9 0 415 0;}
@font-face
	{font-family:&quot;Copperplate Gothic Bold&quot;;
	panose-1:2 14 7 5 2 2 6 2 4 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:3 0 0 0 1 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-parent:&quot;&quot;;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:10.0pt;
	margin-left:0in;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;}
.MsoChpDefault
	{mso-style-type:export-only;
	mso-default-props:yes;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;}
.MsoPapDefault
	{mso-style-type:export-only;
	margin-bottom:10.0pt;
	line-height:115%;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
--&gt;
&lt;/style&gt;&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:&quot;Table Normal&quot;;
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-priority:99;
	mso-style-qformat:yes;
	mso-style-parent:&quot;&quot;;
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin-top:0in;
	mso-para-margin-right:0in;
	mso-para-margin-bottom:10.0pt;
	mso-para-margin-left:0in;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:&quot;Times New Roman&quot;;
	mso-fareast-theme-font:minor-fareast;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;}
&lt;/style&gt;
&lt;![endif]--&gt;&lt;b style=&quot;color: #990000;&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-family: &amp;quot;Copperplate Gothic Bold&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 20pt; line-height: 115%;&quot;&gt;DYNAMIC IMPLEMENTATION OF STACK&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;link href=&quot;file:///C:%5CUsers%5Chunter%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml&quot; rel=&quot;File-List&quot;&gt;&lt;/link&gt;&lt;link href=&quot;file:///C:%5CUsers%5Chunter%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx&quot; rel=&quot;themeData&quot;&gt;&lt;/link&gt;&lt;link href=&quot;file:///C:%5CUsers%5Chunter%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml&quot; rel=&quot;colorSchemeMapping&quot;&gt;&lt;/link&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:TrackMoves/&gt;
  &lt;w:TrackFormatting/&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:DoNotPromoteQF/&gt;
  &lt;w:LidThemeOther&gt;EN-US&lt;/w:LidThemeOther&gt;
  &lt;w:LidThemeAsian&gt;X-NONE&lt;/w:LidThemeAsian&gt;
  &lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
   &lt;w:SplitPgBreakAndParaMark/&gt;
   &lt;w:DontVertAlignCellWithSp/&gt;
   &lt;w:DontBreakConstrainedForcedTables/&gt;
   &lt;w:DontVertAlignInTxbx/&gt;
   &lt;w:Word11KerningPairs/&gt;
   &lt;w:CachedColBalance/&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
  &lt;m:mathPr&gt;
   &lt;m:mathFont m:val=&quot;Cambria Math&quot;/&gt;
   &lt;m:brkBin m:val=&quot;before&quot;/&gt;
   &lt;m:brkBinSub m:val=&quot;--&quot;/&gt;
   &lt;m:smallFrac m:val=&quot;off&quot;/&gt;
   &lt;m:dispDef/&gt;
   &lt;m:lMargin m:val=&quot;0&quot;/&gt;
   &lt;m:rMargin m:val=&quot;0&quot;/&gt;
   &lt;m:defJc m:val=&quot;centerGroup&quot;/&gt;
   &lt;m:wrapIndent m:val=&quot;1440&quot;/&gt;
   &lt;m:intLim m:val=&quot;subSup&quot;/&gt;
   &lt;m:naryLim m:val=&quot;undOvr&quot;/&gt;
  &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState=&quot;false&quot; DefUnhideWhenUsed=&quot;true&quot;
  DefSemiHidden=&quot;true&quot; DefQFormat=&quot;false&quot; DefPriority=&quot;99&quot;
  LatentStyleCount=&quot;267&quot;&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;0&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Normal&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;heading 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 7&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 8&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 9&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 7&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 8&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 9&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;35&quot; QFormat=&quot;true&quot; Name=&quot;caption&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;10&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Title&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;1&quot; Name=&quot;Default Paragraph Font&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;11&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtitle&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;22&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Strong&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;20&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Emphasis&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;59&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Table Grid&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; UnhideWhenUsed=&quot;false&quot; Name=&quot;Placeholder Text&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;1&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;No Spacing&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; UnhideWhenUsed=&quot;false&quot; Name=&quot;Revision&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;34&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;List Paragraph&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;29&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Quote&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;30&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Quote&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;19&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtle Emphasis&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;21&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Emphasis&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;31&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtle Reference&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;32&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Reference&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;33&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Book Title&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;37&quot; Name=&quot;Bibliography&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; QFormat=&quot;true&quot; Name=&quot;TOC Heading&quot;/&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:&quot;Cambria Math&quot;;
	panose-1:2 4 5 3 5 4 6 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:roman;
	mso-font-pitch:variable;
	mso-font-signature:-1610611985 1107304683 0 0 415 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-520092929 1073786111 9 0 415 0;}
@font-face
	{font-family:Kalinga;
	panose-1:2 11 5 2 4 2 4 2 2 3;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:524291 0 0 0 1 0;}
@font-face
	{font-family:Papyrus;
	panose-1:3 7 5 2 6 5 2 3 2 5;
	mso-font-charset:0;
	mso-generic-font-family:script;
	mso-font-pitch:variable;
	mso-font-signature:3 0 0 0 1 0;}
@font-face
	{font-family:&quot;Monotype Corsiva&quot;;
	panose-1:3 1 1 1 1 2 1 1 1 1;
	mso-font-charset:0;
	mso-generic-font-family:script;
	mso-font-pitch:variable;
	mso-font-signature:647 0 0 0 159 0;}
@font-face
	{font-family:&quot;Agency FB&quot;;
	panose-1:2 11 5 3 2 2 2 2 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:3 0 0 0 1 0;}
@font-face
	{font-family:&quot;Copperplate Gothic Bold&quot;;
	panose-1:2 14 7 5 2 2 6 2 4 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:3 0 0 0 1 0;}
@font-face
	{font-family:&quot;Old English Text MT&quot;;
	panose-1:3 4 9 2 4 5 8 3 8 6;
	mso-font-charset:0;
	mso-generic-font-family:script;
	mso-font-pitch:variable;
	mso-font-signature:3 0 0 0 1 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-parent:&quot;&quot;;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:10.0pt;
	margin-left:0in;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;}
a:link, span.MsoHyperlink
	{mso-style-noshow:yes;
	mso-style-priority:99;
	color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-noshow:yes;
	mso-style-priority:99;
	color:purple;
	mso-themecolor:followedhyperlink;
	text-decoration:underline;
	text-underline:single;}
p
	{mso-style-noshow:yes;
	mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;
	mso-fareast-font-family:&quot;Times New Roman&quot;;}
.MsoChpDefault
	{mso-style-type:export-only;
	mso-default-props:yes;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;}
.MsoPapDefault
	{mso-style-type:export-only;
	margin-bottom:10.0pt;
	line-height:115%;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
--&gt;
&lt;/style&gt;&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:&quot;Table Normal&quot;;
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-priority:99;
	mso-style-qformat:yes;
	mso-style-parent:&quot;&quot;;
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin-top:0in;
	mso-para-margin-right:0in;
	mso-para-margin-bottom:10.0pt;
	mso-para-margin-left:0in;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:&quot;Times New Roman&quot;;
	mso-fareast-theme-font:minor-fareast;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;}
&lt;/style&gt;
&lt;![endif]--&gt;

&lt;/div&gt;
&lt;div style=&quot;background-color: black; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Papyrus; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #6aa84f; font-family: &amp;quot;Old English Text MT&amp;quot;; font-size: 52pt;&quot;&gt;I&lt;/span&gt;&lt;b style=&quot;color: orange;&quot;&gt;&lt;span style=&quot;font-family: Papyrus; font-size: 13pt;&quot;&gt;n computer
science, &amp;nbsp;a stack is a last in, first out &amp;nbsp;(LIFO) &amp;nbsp;abstract data type and linear data
structure. &amp;nbsp;A stack can have any &amp;nbsp;abstract data type &amp;nbsp;as an element, but is characterized by two
fundamental operations, &amp;nbsp;called &lt;i&gt;push&lt;/i&gt;
and &lt;i&gt;pop&lt;/i&gt; (or &lt;i&gt;pull&lt;/i&gt;). The push operation adds a new item to the top
of the stack, &amp;nbsp;or initializes the stack
if it is empty. &amp;nbsp;If the stack is full and
does not contain enough space to accept the given item, &amp;nbsp;the stack is then considered to be in an overflow
state. The pop operation removes an item from the top of the stack. &amp;nbsp;A pop either reveals previously concealed
items, or &amp;nbsp;esults in an empty stack, but
if the stack is empty then it goes into underflow state (It means no items are
present in stack to be removed). &amp;nbsp;A stack
pointer is the register which holds the value of the stack. &amp;nbsp;The stack pointer always points to the top
value of the stack.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black; color: orange;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Papyrus;&quot;&gt;A
stack is a &lt;i&gt;restricted data structure&lt;/i&gt;, because only a small number of
operations are performed on it. The nature of the pop and push operations also
means that stack elements have a natural order. Elements are removed from the
stack in the reverse order to the order of their addition: therefore, the lower
elements are those that have been on the stack the longest&lt;/span&gt;&lt;/b&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #eeeeee; font-family: &amp;quot;Old English Text MT&amp;quot;; font-size: 17pt;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #e06666; font-family: &amp;quot;Monotype Corsiva&amp;quot;; font-size: 17pt;&quot;&gt;Ref:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Old English Text MT&amp;quot;; font-size: 17pt;&quot;&gt;
&lt;/span&gt;&lt;b style=&quot;color: orange;&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-family: &amp;quot;Agency FB&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 17pt;&quot;&gt;wikipedia.org&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Old English Text MT&amp;quot;; font-size: 17pt;&quot;&gt;&lt;span style=&quot;color: #eeeeee;&quot;&gt;]&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: black;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;link href=&quot;file:///C:%5CUsers%5Chunter%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml&quot; rel=&quot;File-List&quot;&gt;&lt;/link&gt;&lt;link href=&quot;file:///C:%5CUsers%5Chunter%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx&quot; rel=&quot;themeData&quot;&gt;&lt;/link&gt;&lt;link href=&quot;file:///C:%5CUsers%5Chunter%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml&quot; rel=&quot;colorSchemeMapping&quot;&gt;&lt;/link&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:TrackMoves/&gt;
  &lt;w:TrackFormatting/&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:DoNotPromoteQF/&gt;
  &lt;w:LidThemeOther&gt;EN-US&lt;/w:LidThemeOther&gt;
  &lt;w:LidThemeAsian&gt;X-NONE&lt;/w:LidThemeAsian&gt;
  &lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
   &lt;w:SplitPgBreakAndParaMark/&gt;
   &lt;w:DontVertAlignCellWithSp/&gt;
   &lt;w:DontBreakConstrainedForcedTables/&gt;
   &lt;w:DontVertAlignInTxbx/&gt;
   &lt;w:Word11KerningPairs/&gt;
   &lt;w:CachedColBalance/&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
  &lt;m:mathPr&gt;
   &lt;m:mathFont m:val=&quot;Cambria Math&quot;/&gt;
   &lt;m:brkBin m:val=&quot;before&quot;/&gt;
   &lt;m:brkBinSub m:val=&quot;--&quot;/&gt;
   &lt;m:smallFrac m:val=&quot;off&quot;/&gt;
   &lt;m:dispDef/&gt;
   &lt;m:lMargin m:val=&quot;0&quot;/&gt;
   &lt;m:rMargin m:val=&quot;0&quot;/&gt;
   &lt;m:defJc m:val=&quot;centerGroup&quot;/&gt;
   &lt;m:wrapIndent m:val=&quot;1440&quot;/&gt;
   &lt;m:intLim m:val=&quot;subSup&quot;/&gt;
   &lt;m:naryLim m:val=&quot;undOvr&quot;/&gt;
  &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState=&quot;false&quot; DefUnhideWhenUsed=&quot;true&quot;
  DefSemiHidden=&quot;true&quot; DefQFormat=&quot;false&quot; DefPriority=&quot;99&quot;
  LatentStyleCount=&quot;267&quot;&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;0&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Normal&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;heading 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 7&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 8&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 9&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 7&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 8&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 9&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;35&quot; QFormat=&quot;true&quot; Name=&quot;caption&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;10&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Title&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;1&quot; Name=&quot;Default Paragraph Font&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;11&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtitle&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;22&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Strong&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;20&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Emphasis&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;59&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Table Grid&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; UnhideWhenUsed=&quot;false&quot; Name=&quot;Placeholder Text&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;1&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;No Spacing&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; UnhideWhenUsed=&quot;false&quot; Name=&quot;Revision&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;34&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;List Paragraph&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;29&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Quote&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;30&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Quote&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;19&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtle Emphasis&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;21&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Emphasis&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;31&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtle Reference&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;32&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Reference&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;33&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Book Title&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;37&quot; Name=&quot;Bibliography&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; QFormat=&quot;true&quot; Name=&quot;TOC Heading&quot;/&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:&quot;Cambria Math&quot;;
	panose-1:2 4 5 3 5 4 6 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:roman;
	mso-font-pitch:variable;
	mso-font-signature:-1610611985 1107304683 0 0 415 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-520092929 1073786111 9 0 415 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-unhide:no;
	mso-style-qformat:yes;
	mso-style-parent:&quot;&quot;;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:10.0pt;
	margin-left:0in;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;}
p
	{mso-style-noshow:yes;
	mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;
	mso-fareast-font-family:&quot;Times New Roman&quot;;}
.MsoChpDefault
	{mso-style-type:export-only;
	mso-default-props:yes;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:Calibri;
	mso-fareast-theme-font:minor-latin;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;}
.MsoPapDefault
	{mso-style-type:export-only;
	margin-bottom:10.0pt;
	line-height:115%;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
--&gt;
&lt;/style&gt;&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:&quot;Table Normal&quot;;
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-priority:99;
	mso-style-qformat:yes;
	mso-style-parent:&quot;&quot;;
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin-top:0in;
	mso-para-margin-right:0in;
	mso-para-margin-bottom:10.0pt;
	mso-para-margin-left:0in;
	line-height:115%;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
	mso-ascii-font-family:Calibri;
	mso-ascii-theme-font:minor-latin;
	mso-fareast-font-family:&quot;Times New Roman&quot;;
	mso-fareast-theme-font:minor-fareast;
	mso-hansi-font-family:Calibri;
	mso-hansi-theme-font:minor-latin;
	mso-bidi-font-family:&quot;Times New Roman&quot;;
	mso-bidi-theme-font:minor-bidi;}
&lt;/style&gt;
&lt;![endif]--&gt;

&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;#include&amp;lt;stdlib.h&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;typedef struct ll&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;int digit ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;struct ll *next ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;}mynode ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;mynode *head,*new1,*prev ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;void addnode(mynode **hd,int
data) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;void deletenode(mynode **hd) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;void traverse(mynode *hd) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;void searchnode(mynode
*hd,int data) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;void main()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;int data,choice ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;clrscr() ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;head = (mynode*)malloc(sizeof(mynode)) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;head-&amp;gt;next = NULL ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;while(1)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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; printf(&quot;\n1.ADD
NODE&quot;) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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; printf(&quot;\n2.DELETE
NODE&quot;) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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; printf(&quot;\n3.TRAVERSE
LIST&quot;) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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; printf(&quot;\n4.SEARCH
NODE&quot;) ; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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; printf(&quot;\n5.EXIT&quot;) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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; printf(&quot;\nENTER CHOICE :&amp;nbsp;
&quot;) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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; scanf(&quot;%d&quot;,&amp;amp;choice) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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; switch(choice)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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;&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; case 1:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\nEnter The
Number : &quot;) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;data) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; addnode(&amp;amp;head,data) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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;&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; case 2:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; deletenode(&amp;amp;head) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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;&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; case 3:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; traverse(head) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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;&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; case 4:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\nEnter Data To
Be Searched : &quot;) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;data) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; searchnode(head,data) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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;&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; case 5:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;Thank&#39;s For
Using Me !! Good Bye %c !!&quot;,1) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; getch() ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp; exit(0) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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; default:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\nInvalid Choice
Re-Enter :&amp;nbsp; &quot;) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: black; color: #fff2cc; font-family: Arial, sans-serif;&quot;&gt;break ;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: black; color: #fff2cc; font-family: Arial, sans-serif;&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; }&lt;/span&gt;&lt;span style=&quot;background-color: black; font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;color: yellow;&quot;&gt;//switch&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;color: yellow;&quot;&gt;//while&lt;/span&gt;&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;void addnode(mynode **hd ,
int data)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; clrscr() ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new1 = (mynode*)malloc(sizeof(mynode)) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new1-&amp;gt;digit = data ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if((*hd)-&amp;gt;next==NULL)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new1-&amp;gt;next=*hd ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\nFirst Node
With Data %d Is Added&quot;,data) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (*hd)=new1 ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;color: #fff2cc;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;color: yellow;&quot;&gt;//if&lt;/span&gt;&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new1-&amp;gt;next = *hd ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\nNode With
Value %d Is Added &quot;,data) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (*hd) = new1 ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;void deletenode(mynode **hd)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; clrscr() ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; prev = *hd ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if((*hd)-&amp;gt;next == NULL)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\nNothing Is In
List Enter Some Data First&quot;) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;color: #fff2cc;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;color: yellow;&quot;&gt;//if&lt;/span&gt;&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *hd = (*hd)-&amp;gt;next ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;Node With Data
%d Is Deleted&quot;,prev-&amp;gt;digit) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; free(prev) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;void traverse(mynode *hd)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; clrscr() ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(hd-&amp;gt;next==NULL)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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; printf(&quot;\nNothing Found
Enter Some Data First &quot;) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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; return ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;color: #fff2cc;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;color: yellow;&quot;&gt;//if&lt;/span&gt;&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\nFollowing Data
Are Found\n&quot;) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(hd-&amp;gt;next != NULL)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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; printf(&quot;%d,&quot;,hd-&amp;gt;digit) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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; hd = hd-&amp;gt;next ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;color: #fff2cc;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;color: yellow;&quot;&gt;//while&lt;/span&gt;&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;void searchnode(mynode
*hd,int data)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; clrscr() ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if((hd)-&amp;gt;next==NULL)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\nNothing Found
List Is Empty&quot;) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;color: #fff2cc;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;color: yellow;&quot;&gt;//if&lt;/span&gt;&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while((hd)-&amp;gt;next!=NULL)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if((hd)-&amp;gt;digit==data)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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; printf(&quot;\nData %d Is
Found&quot;,data) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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; return ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&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&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;color: #fff2cc;&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&gt;&lt;span style=&quot;color: yellow;&quot;&gt;//if&lt;/span&gt;&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hd=hd-&amp;gt;next ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;color: #fff2cc;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;color: yellow;&quot;&gt;//while&lt;/span&gt;&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;color: #fff2cc; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\nData %d Is Not
Found &quot;,data) ;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: black;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;color: #fff2cc;&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://salokr.blogspot.com/feeds/3337488746927752570/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://salokr.blogspot.com/2012/08/stack-implementation-using-linked-list.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/3337488746927752570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/3337488746927752570'/><link rel='alternate' type='text/html' href='http://salokr.blogspot.com/2012/08/stack-implementation-using-linked-list.html' title='STACK IMPLEMENTATION USING LINKED LIST'/><author><name>Saurabh</name><uri>http://www.blogger.com/profile/12744515394966062206</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>1</thr:total><georss:featurename>Agra, Uttar Pradesh, India</georss:featurename><georss:point>27.1766701 78.0080745</georss:point><georss:box>27.1201671 77.929110500000007 27.2331731 78.0870385</georss:box></entry><entry><id>tag:blogger.com,1999:blog-5887008643055529209.post-3245122639541970307</id><published>2012-08-14T10:06:00.000-07:00</published><updated>2012-08-19T00:22:16.218-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="blog"/><category scheme="http://www.blogger.com/atom/ns#" term="circular"/><category scheme="http://www.blogger.com/atom/ns#" term="circular linked list"/><category scheme="http://www.blogger.com/atom/ns#" term="LINKED LIST"/><category scheme="http://www.blogger.com/atom/ns#" term="salokr&#39;s"/><category scheme="http://www.blogger.com/atom/ns#" term="saurabh"/><category scheme="http://www.blogger.com/atom/ns#" term="saurabh&#39;s blog"/><category scheme="http://www.blogger.com/atom/ns#" term="simple operations on circular linked list"/><title type='text'>Circular Linked List</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;color: #cc0000; text-align: center;&quot;&gt;
&amp;nbsp;
&lt;u&gt;SINGLY CIRCULAR LINKED LIST&lt;/u&gt;&lt;/h2&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: red; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;In This Post I&#39;m Going To Demonstrate you Simple Operations On Singly Circular Linked List i.e.&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h4 style=&quot;color: #cc0000; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;(1) Addition Of Nodes&lt;/u&gt;&lt;/b&gt;&lt;/h4&gt;
&lt;h4 style=&quot;color: #cc0000; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;(2) Deletion Of Nodes&lt;/u&gt;&lt;/b&gt;&lt;/h4&gt;
&lt;h4 style=&quot;color: #cc0000; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;(3) Traversing The List&lt;/u&gt;&lt;/b&gt;&lt;/h4&gt;
&lt;h4 style=&quot;color: #cc0000; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;(4) Search A Data from List&amp;nbsp;&lt;/u&gt;&lt;/b&gt;&lt;/h4&gt;
&lt;h2 style=&quot;background-color: #93c47d; color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: center;&quot;&gt;
&lt;b&gt;&lt;u&gt;THE CODE IS AS FOLLOWING :-&lt;/u&gt;&lt;/b&gt;&lt;/h2&gt;
&lt;div style=&quot;background-color: #990000; color: orange; font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;span&gt;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;#include&amp;lt;stdlib.h&amp;gt;&lt;br /&gt;typedef struct ll&lt;br /&gt;{&lt;br /&gt;int digit;&lt;br /&gt;struct ll *next;&lt;br /&gt;}mynode;&lt;br /&gt;mynode *head,*start,*new1,*prev;&lt;br /&gt;void addnode(mynode **hd,int data)&lt;br /&gt;{&lt;br /&gt;clrscr();&lt;br /&gt;start=*hd;&lt;br /&gt;new1=(mynode*)malloc(sizeof(mynode));&lt;br /&gt;new1-&amp;gt;digit=data;&lt;br /&gt;if((*hd)-&amp;gt;next==head)&lt;br /&gt;{&lt;br /&gt;start-&amp;gt;next=new1;&lt;br /&gt;new1-&amp;gt;next=head;&lt;br /&gt;printf(&quot;\nFirst Data %d Is Addeded !!&quot;,data);&lt;br /&gt;return;&lt;br /&gt;}//if&lt;br /&gt;while(start-&amp;gt;next!=head)&lt;br /&gt;start=start-&amp;gt;next;&lt;br /&gt;start-&amp;gt;next=new1;&lt;br /&gt;new1-&amp;gt;next=head;&lt;br /&gt;start=new1;&lt;br /&gt;printf(&quot;\nData %d Is Added &quot; ,data);&lt;br /&gt;}&lt;br /&gt;void delnode(mynode **hd,int data)&lt;br /&gt;{&lt;br /&gt;clrscr();&lt;br /&gt;start=prev=*hd;&lt;br /&gt;if(start-&amp;gt;next==head)&lt;br /&gt;{&lt;br /&gt;printf(&quot;\nList Is Empty Buddy Nothing To Delete&quot;);&lt;br /&gt;return;&lt;br /&gt;}//if ends&lt;br /&gt;if(start-&amp;gt;next-&amp;gt;next==head)&lt;br /&gt;{&lt;br /&gt;if(start-&amp;gt;next-&amp;gt;digit!=data)&lt;br /&gt;{&lt;br /&gt;printf(&quot;\n%d Data Is Not Found On Single Node&quot;,data);&lt;br /&gt;return;&lt;br /&gt;}&lt;br /&gt;start=start-&amp;gt;next;&lt;br /&gt;prev-&amp;gt;next=start-&amp;gt;next;&lt;br /&gt;free(start);&lt;br /&gt;printf(&quot;\nWarning : Single Data %d Is Deleted&quot;,data);&lt;br /&gt;return;&lt;br /&gt;}//if ends&lt;br /&gt;while(start-&amp;gt;next!=head)&lt;br /&gt;{&lt;br /&gt;start=start-&amp;gt;next;&lt;br /&gt;if(start-&amp;gt;digit==data)&lt;br /&gt;{&lt;br /&gt;prev-&amp;gt;next=start-&amp;gt;next;&lt;br /&gt;free(start);&lt;br /&gt;printf(&quot;\n%d Data Is deleted &quot;,data);&lt;br /&gt;return;&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;prev=prev-&amp;gt;next;&lt;br /&gt;}//while ends here&lt;br /&gt;printf(&quot;\n%d Data Is Not Found&quot;,data);&lt;br /&gt;}&lt;br /&gt;void searchnode(mynode *hd , int data)&lt;br /&gt;{&lt;br /&gt;clrscr();&lt;br /&gt;start=hd;&lt;br /&gt;if(start-&amp;gt;next==head)&lt;br /&gt;{&lt;br /&gt;printf(&quot;\nList Is Empty Nothing Found Enter Some Data First &quot;);&lt;br /&gt;return;&lt;br /&gt;}//if&lt;br /&gt;while(start-&amp;gt;next!=head)&lt;br /&gt;{&lt;br /&gt;start=start-&amp;gt;next;&lt;br /&gt;if(start-&amp;gt;digit==data)&lt;br /&gt;{&lt;br /&gt;printf(&quot;\nData %d Is Found&quot;,data);&lt;br /&gt;return;&lt;br /&gt;}&lt;br /&gt;}//while&lt;br /&gt;printf(&quot;\nData %d Is Not Found&quot;,data);&lt;br /&gt;}&lt;br /&gt;void traverse(mynode *hd)&lt;br /&gt;{&lt;br /&gt;clrscr();&lt;br /&gt;start=hd;&lt;br /&gt;if(start-&amp;gt;next==head)&lt;br /&gt;{&lt;br /&gt;printf(&quot;\nNOTHING FOUND ! LIST IS EMPTY &quot;);&lt;br /&gt;return;&lt;br /&gt;}&lt;br /&gt;printf(&quot;\nFollwing Data Are Found : \n&quot;);&lt;br /&gt;while(start-&amp;gt;next!=head)&lt;br /&gt;{&lt;br /&gt;start=start-&amp;gt;next;&lt;br /&gt;printf(&quot;%d,&quot;,start-&amp;gt;digit);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;int choice,data;&lt;br /&gt;clrscr();&lt;br /&gt;head=(mynode*)malloc(sizeof(mynode));&lt;br /&gt;head-&amp;gt;next=head;&lt;br /&gt;while(1)&lt;br /&gt;{&lt;br /&gt;printf(&quot;\n1.ADD NODE&quot;);&lt;br /&gt;printf(&quot;\n2.DELETE NODE&quot;);&lt;br /&gt;printf(&quot;\n3.SEARCH NODE&quot;);&lt;br /&gt;printf(&quot;\n4.TRAVERSE THE LIST&quot;);&lt;br /&gt;printf(&quot;\n5.EXIT&quot;);&lt;br /&gt;printf(&quot;\nENTER CHOICE : &quot;);&lt;br /&gt;scanf(&quot;%d&quot;,&amp;amp;choice);&lt;br /&gt;switch(choice)&lt;br /&gt;{&lt;br /&gt;case 1:&lt;br /&gt;printf(&quot;\nEnter Data To Be Inserted : &quot;);&lt;br /&gt;scanf(&quot;%d&quot;,&amp;amp;data);&lt;br /&gt;addnode(&amp;amp;head,data);&lt;br /&gt;break;&lt;br /&gt;case 2:&lt;br /&gt;printf(&quot;\nEnter Data To Be Deleted : &quot;);&lt;br /&gt;scanf(&quot;%d&quot;,&amp;amp;data);&lt;br /&gt;delnode(&amp;amp;head,data);&lt;br /&gt;break;&lt;br /&gt;case 3:&lt;br /&gt;printf(&quot;\nEnter Data To Search : &quot;);&lt;br /&gt;scanf(&quot;%d&quot;,&amp;amp;data);&lt;br /&gt;searchnode(head,data);&lt;br /&gt;break;&lt;br /&gt;case 4:&lt;br /&gt;traverse(head);&lt;br /&gt;break;&lt;br /&gt;case 5:&lt;br /&gt;printf(&quot;THANK&#39;S FOR USING ME GOODBYE %c !!&quot;,1);&lt;br /&gt;getch();&lt;br /&gt;exit(0);&lt;br /&gt;break;&lt;br /&gt;default :&lt;br /&gt;clrscr();&lt;br /&gt;printf(&quot;\nInvalid Choice R&lt;span style=&quot;background-color: #990000;&quot;&gt;e-Enter : &quot;);&lt;/span&gt;&lt;br style=&quot;background-color: #990000; color: orange;&quot; /&gt;&lt;span style=&quot;background-color: #990000; color: orange;&quot;&gt;break;&lt;/span&gt;&lt;br style=&quot;background-color: #990000; color: orange;&quot; /&gt;&lt;span style=&quot;background-color: #990000; color: orange;&quot;&gt;}//switch&lt;/span&gt;&lt;br style=&quot;background-color: #990000; color: orange;&quot; /&gt;&lt;span style=&quot;background-color: #990000; color: orange;&quot;&gt;}//while(1)ends&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: left;&quot;&gt;
&lt;span&gt;&lt;span style=&quot;background-color: #990000; color: orange;&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;&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;&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;&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;&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;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; color: red; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: left;&quot;&gt;
&lt;br /&gt;
&lt;/h2&gt;
&lt;div align=&quot;justify&quot; class=&quot;MsoNormal&quot; style=&quot;color: red; margin-left: 10px; margin-right: 10px; margin-top: 5px;&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;&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;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; !!! HOPE U LIKE IT !!!&lt;/div&gt;
&lt;div align=&quot;justify&quot; class=&quot;MsoNormal&quot; style=&quot;color: red; margin-left: 10px; margin-right: 10px; margin-top: 5px;&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; !!!&amp;nbsp; THANKS FOR READING !!!&lt;/div&gt;
&lt;div class=&quot;text_exposed_show&quot; 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;&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;&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; !!!!!HAPPY PROGRAMMING !!!!!&lt;/div&gt;
&lt;div class=&quot;text_exposed_show&quot; style=&quot;color: red;&quot;&gt;
U Can catch me at &lt;a href=&quot;http://www.facebook.com/salokr&quot;&gt;http://www.facebook.com/salokr&lt;/a&gt;&lt;span style=&quot;background-color: #990000;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: left;&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://salokr.blogspot.com/feeds/3245122639541970307/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://salokr.blogspot.com/2012/08/circular-linked-list.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/3245122639541970307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/3245122639541970307'/><link rel='alternate' type='text/html' href='http://salokr.blogspot.com/2012/08/circular-linked-list.html' title='Circular Linked List'/><author><name>Saurabh</name><uri>http://www.blogger.com/profile/12744515394966062206</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><georss:featurename>Pandeypur, Uttar Pradesh, India</georss:featurename><georss:point>26.5125521 83.8638691</georss:point><georss:box>26.5090001 83.8589336 26.5161041 83.8688046</georss:box></entry><entry><id>tag:blogger.com,1999:blog-5887008643055529209.post-3878605223297596228</id><published>2012-08-14T01:14:00.001-07:00</published><updated>2012-08-14T11:02:47.992-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="doubly"/><category scheme="http://www.blogger.com/atom/ns#" term="doubly linked list"/><category scheme="http://www.blogger.com/atom/ns#" term="LINKED LIST"/><category scheme="http://www.blogger.com/atom/ns#" term="node opeartions"/><category scheme="http://www.blogger.com/atom/ns#" term="simple and basic node opeartions"/><title type='text'>SIMPLE AND BASIC OPERATIONS ON DOUBLY LINKED LIST</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;color: #cc0000; text-align: center;&quot;&gt;
&lt;u&gt;DOUBLY LINKED LIST&lt;/u&gt;&lt;/h2&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: red; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;In This Post I&#39;m Going To Demonstrate you Simple Operations On Doubly Linked List i.e.&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h4 style=&quot;color: #cc0000; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;(1) Addition Of Nodes&lt;/u&gt;&lt;/b&gt;&lt;/h4&gt;
&lt;h4 style=&quot;color: #cc0000; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;(2) Deletion Of Nodes&lt;/u&gt;&lt;/b&gt;&lt;/h4&gt;
&lt;h4 style=&quot;color: #cc0000; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;(3) Traversing The List In LIFO&amp;nbsp; and FIFO Fashion&lt;/u&gt;&lt;/b&gt;&lt;/h4&gt;
&lt;h4 style=&quot;color: #cc0000; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;(4) Search A Data from List&amp;nbsp;&lt;/u&gt;&lt;/b&gt;&lt;/h4&gt;
&lt;h2 style=&quot;background-color: #93c47d; color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: center;&quot;&gt;
&lt;b&gt;&lt;u&gt;THE CODE IS AS FOLLOWING :-&lt;/u&gt;&lt;/b&gt;&lt;/h2&gt;
&lt;div style=&quot;background-color: #cc0000; color: orange; font-family: Verdana,sans-serif; text-align: left;&quot;&gt;
&lt;b&gt;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;#include&amp;lt;stdlib.h&amp;gt;&lt;br /&gt;typedef struct ll&lt;br /&gt;{&lt;br /&gt;struct ll *prev;&lt;br /&gt;int digit;&lt;br /&gt;struct ll *next;&lt;br /&gt;}mynode;&lt;br /&gt;mynode *start,*head,*new1,*prev;&lt;br /&gt;void addnode(mynode **hd , int data);&lt;br /&gt;void delnode(mynode **hd , int data);&lt;br /&gt;void traverseLIFO(mynode *hd);&lt;br /&gt;void traverseFIFO(mynode *hd);&lt;br /&gt;void searchnode(mynode *hd,int data);&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;int choice,data;&lt;br /&gt;head=(mynode*)malloc(sizeof(mynode));&lt;br /&gt;head-&amp;gt;next=head-&amp;gt;prev=NULL;&lt;br /&gt;clrscr();&lt;br /&gt;while(1)&lt;br /&gt;{&lt;br /&gt;printf(&quot;\n1.ADD NODE&quot;);&lt;br /&gt;printf(&quot;\n2.DELETE NODE&quot;);&lt;br /&gt;printf(&quot;\n3.TRAVERSE FIFO&quot;);&lt;br /&gt;printf(&quot;\n4.TRAVERSE LIFO&quot;);&lt;br /&gt;printf(&quot;\n5.SEARCH NODE&quot;);&lt;br /&gt;printf(&quot;\n6.EXIT&quot;);&lt;br /&gt;printf(&quot;\nENTER CHOICE : &quot;);&lt;br /&gt;scanf(&quot;%d&quot;,&amp;amp;choice);&lt;br /&gt;switch(choice)&lt;br /&gt;{&lt;br /&gt;case 1:&lt;br /&gt;printf(&quot;\nENTER DATA : &quot;);&lt;br /&gt;scanf(&quot;%d&quot;,&amp;amp;data);&lt;br /&gt;addnode(&amp;amp;head,data);&lt;br /&gt;break;&lt;br /&gt;case 2:&lt;br /&gt;printf(&quot;\nENTER DATA TO DELETE : &quot;);&lt;br /&gt;scanf(&quot;%d&quot;,&amp;amp;data);&lt;br /&gt;delnode(&amp;amp;head,data);&lt;br /&gt;break;&lt;br /&gt;case 3:&lt;br /&gt;traverseFIFO(head);&lt;br /&gt;break;&lt;br /&gt;case 4:&lt;br /&gt;traverseLIFO(head);&lt;br /&gt;break;&lt;br /&gt;case 5:&lt;br /&gt;printf(&quot;\nENTER DATA TO BE SEARCHED : &quot;);&lt;br /&gt;scanf(&quot;%d&quot;,&amp;amp;data);&lt;br /&gt;searchnode(head,data);&lt;br /&gt;break;&lt;br /&gt;case 6:&lt;br /&gt;printf(&quot;\nTHANKS FOR USING ME , GOOD BYE %c !!&quot;,1);&lt;br /&gt;getch();&lt;br /&gt;exit(0);&lt;br /&gt;break;&lt;br /&gt;default:&lt;br /&gt;printf(&quot;\nINVALID CHOICE RE-ENTER : &quot;);&lt;br /&gt;break;&lt;br /&gt;}//switch&lt;br /&gt;}//while&lt;br /&gt;}&lt;br /&gt;void addnode(mynode **hd,int data)&lt;br /&gt;{&lt;br /&gt;clrscr();&lt;br /&gt;start=*hd;&lt;br /&gt;new1=(mynode*)malloc(sizeof(mynode));&lt;br /&gt;new1-&amp;gt;next=new1-&amp;gt;prev=NULL;&lt;br /&gt;new1-&amp;gt;digit=data;&lt;br /&gt;if(start-&amp;gt;next==NULL)&lt;br /&gt;{&lt;br /&gt;start-&amp;gt;next=new1;&lt;br /&gt;new1-&amp;gt;prev=start;&lt;br /&gt;printf(&quot;\nFIRST DATA %d IS ADDED&quot;,data);&lt;br /&gt;return;&lt;br /&gt;}&lt;br /&gt;while(start-&amp;gt;next!=NULL)&lt;br /&gt;start=start-&amp;gt;next;&lt;br /&gt;start-&amp;gt;next=new1;&lt;br /&gt;new1-&amp;gt;prev=start;&lt;br /&gt;printf(&quot;\n%d IS ADDED&quot;,data);&lt;br /&gt;}&lt;br /&gt;void delnode(mynode **hd,int data)&lt;br /&gt;{&lt;br /&gt;clrscr();&lt;br /&gt;prev=start=*hd;&lt;br /&gt;if(start-&amp;gt;next==NULL)&lt;br /&gt;{&lt;br /&gt;printf(&quot;\nNOTHING TO DELETE&quot;);&lt;br /&gt;return;&lt;br /&gt;}&lt;br /&gt;if(start-&amp;gt;next-&amp;gt;next==NULL)&lt;br /&gt;{&lt;br /&gt;if(start-&amp;gt;next-&amp;gt;digit==data)&lt;br /&gt;{&lt;br /&gt;start=start-&amp;gt;next;&lt;br /&gt;free(start);&lt;br /&gt;prev-&amp;gt;next=NULL;&lt;br /&gt;printf(&quot;\nWARNING : FIRST NODE %d IS DELETED&quot;,data);&lt;br /&gt;return;&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;printf(&quot;\nDATA %d IS NOT FOUND ON SINGLE NODE&quot;,data);&lt;br /&gt;return;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;while(start-&amp;gt;next!=NULL)&lt;br /&gt;{&lt;br /&gt;start=start-&amp;gt;next;&lt;br /&gt;if(start-&amp;gt;digit==data)&lt;br /&gt;{&lt;br /&gt;prev-&amp;gt;next=start-&amp;gt;next;&lt;br /&gt;start-&amp;gt;next-&amp;gt;prev=prev;&lt;br /&gt;free(start);&lt;br /&gt;printf(&quot;\n%d IS DELETED !!&quot;,data);&lt;br /&gt;return;&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;prev=prev-&amp;gt;next;&lt;br /&gt;}&lt;br /&gt;printf(&quot;\n%d DATA IS NOT FOUND&quot;,data);&lt;br /&gt;}&lt;br /&gt;void traverseLIFO(mynode *hd)&lt;br /&gt;{&lt;br /&gt;clrscr();&lt;br /&gt;start=hd;&lt;br /&gt;if(start-&amp;gt;next==NULL)&lt;br /&gt;{&lt;br /&gt;printf(&quot;\nNOTHING FOUND LIST IS EMPTY&quot;);&lt;br /&gt;return;&lt;br /&gt;}&lt;br /&gt;printf(&quot;\nFOLLOWING DATA ARE FOUND : &quot;);&lt;br /&gt;while(start-&amp;gt;next!=NULL)&lt;br /&gt;start=start-&amp;gt;next;&lt;br /&gt;while(start-&amp;gt;prev!=NULL)&lt;br /&gt;{&lt;br /&gt;printf(&quot;%d,&quot;,start-&amp;gt;digit);&lt;br /&gt;start=start-&amp;gt;prev;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;void traverseFIFO(mynode *hd)&lt;br /&gt;{&lt;br /&gt;clrscr();&lt;br /&gt;start=hd;&lt;br /&gt;if(start-&amp;gt;next==NULL)&lt;br /&gt;{&lt;br /&gt;printf(&quot;\nNOTHING FOUND LIST IS EMPTY&quot;);&lt;br /&gt;return;&lt;br /&gt;}&lt;br /&gt;printf(&quot;\nFOLLOWING DATA ARE FOUND : &quot;);&lt;br /&gt;while(start-&amp;gt;next!=NULL)&lt;br /&gt;{&lt;br /&gt;start=start-&amp;gt;next;&lt;br /&gt;printf(&quot;%d,&quot;,start-&amp;gt;digit);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;void searchnode(mynode *hd,int data)&lt;br /&gt;{&lt;br /&gt;start=hd;&lt;br /&gt;clrscr();&lt;br /&gt;while(start-&amp;gt;next!=NULL)&lt;br /&gt;{&lt;br /&gt;start=start-&amp;gt;next;&lt;br /&gt;if(start-&amp;gt;digit==data)&lt;br /&gt;{&lt;br /&gt;printf(&quot;\nDATA %d IS FOUND&quot;,data);&lt;br /&gt;return;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;printf(&quot;\nDATA %d IS NOT FOUND&quot;,data);&lt;br /&gt;&lt;br /&gt;}&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://salokr.blogspot.com/feeds/3878605223297596228/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://salokr.blogspot.com/2012/08/simple-and-basic-operations-on-doubly.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/3878605223297596228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/3878605223297596228'/><link rel='alternate' type='text/html' href='http://salokr.blogspot.com/2012/08/simple-and-basic-operations-on-doubly.html' title='SIMPLE AND BASIC OPERATIONS ON DOUBLY LINKED LIST'/><author><name>Saurabh</name><uri>http://www.blogger.com/profile/12744515394966062206</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><georss:featurename>Pandeypur, Uttar Pradesh, India</georss:featurename><georss:point>26.5125521 83.8638691</georss:point><georss:box>26.5090001 83.8589336 26.5161041 83.8688046</georss:box></entry><entry><id>tag:blogger.com,1999:blog-5887008643055529209.post-8853251316663319297</id><published>2012-08-13T10:08:00.000-07:00</published><updated>2012-08-14T01:07:08.236-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="deletion"/><category scheme="http://www.blogger.com/atom/ns#" term="LINKED LIST"/><category scheme="http://www.blogger.com/atom/ns#" term="LINKED LIST ADDITION"/><category scheme="http://www.blogger.com/atom/ns#" term="node opeartions"/><category scheme="http://www.blogger.com/atom/ns#" term="searching"/><category scheme="http://www.blogger.com/atom/ns#" term="SINGLY LINKED LIST"/><category scheme="http://www.blogger.com/atom/ns#" term="traversing"/><title type='text'>SIMPLE AND BASIC LINKED LIST OPERATIONS </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;color: orange; text-align: center;&quot;&gt;
&lt;b&gt;&lt;u&gt;SIMPLE AND BASIC LINKED LIST OPERATIONS&amp;nbsp;&lt;/u&gt;&lt;/b&gt;&lt;/h2&gt;
&lt;div style=&quot;color: orange; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: red; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;In This Post I&#39;m Going To Demonstrate you Simple Operations On Linked List i.e.&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/h3&gt;
&lt;h4 style=&quot;color: #cc0000; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;(1) Addition Of Nodes&lt;/u&gt;&lt;/b&gt;&lt;/h4&gt;
&lt;h4 style=&quot;color: #cc0000; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;(2) Deletion Of Nodes&lt;/u&gt;&lt;/b&gt;&lt;/h4&gt;
&lt;h4 style=&quot;color: #cc0000; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;(3) Traversing The List and&lt;/u&gt;&lt;/b&gt;&lt;/h4&gt;
&lt;h4 style=&quot;color: #cc0000; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;(4) Search A Data from List&amp;nbsp;&lt;/u&gt;&lt;/b&gt;&lt;/h4&gt;
&lt;h2 style=&quot;background-color: #93c47d; color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; text-align: center;&quot;&gt;
&lt;b&gt;&lt;u&gt;THE CODE IS AS FOLLOWING :-&lt;/u&gt;&lt;/b&gt;&lt;/h2&gt;
&lt;div style=&quot;color: orange; text-align: left;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;#include&amp;lt;stdlib.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;typedef struct ll&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;struct ll *next;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;int digit;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;}mynode;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;mynode *head,*start,*new1;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;void addnode(mynode **hd,int data);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;void delnode(mynode **hd,int data);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;void traverse(mynode *hd);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;void search(mynode *hd,int data);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;void main()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;int choice,data;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;head=(mynode*)malloc(sizeof(mynode));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;head-&amp;gt;next=NULL;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;clrscr();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;do&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;printf(&quot;\nEnter Choice : &quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;printf(&quot;\n1.ADD NODE&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;printf(&quot;\n2.DELETE NODE&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;printf(&quot;\n3.TRAVERSE OR READ LIST&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;printf(&quot;\n4.SEARCH NODE&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;printf(&quot;\n5.EXIT&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;printf(&quot;\nEnter Choice : &quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;scanf(&quot;%d&quot;,&amp;amp;choice);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;switch(choice)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;case 1:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;printf(&quot;\nEnter A Number &quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;scanf(&quot;%d&quot;,&amp;amp;data);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;addnode(&amp;amp;head,data);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;break;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;case 2:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;printf(&quot;\nEnter Data To Delete : &quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;scanf(&quot;%d&quot;,&amp;amp;data);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;delnode(&amp;amp;head,data);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;break;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;case 3:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;traverse(head);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;break;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;case 4:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;printf(&quot;\nEnter Data To Search : &quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;scanf(&quot;%d&quot;,&amp;amp;data);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;search(head,data);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;break;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;case 5:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;printf(&quot;\nTHANKS FOR USING ME !! HAVE A NICE DAY , BYE BYE&amp;nbsp; %c!! &quot;,1);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;getch();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;exit(0);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;break;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;default:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;printf(&quot;\nINVALID CHOICE RE-ENTER\n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;break;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;}//switch&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;}while(choice!=5);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;void addnode(mynode **hd,int data)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;mynode *new1,*head;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;head=*hd;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;new1=(mynode*)malloc(sizeof(mynode));&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;new1-&amp;gt;next=NULL;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;new1-&amp;gt;digit=data;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;if(head-&amp;gt;next==NULL)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;head-&amp;gt;next=new1;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;printf(&quot;\nFIRST NODE ADDED&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;return;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;while(head-&amp;gt;next!=NULL)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;head=head-&amp;gt;next;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;head-&amp;gt;next=new1;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;printf(&quot;\n%d IS ADDED ! &quot;,data);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;void delnode(mynode **hd,int data)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;mynode *temp,*prev;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;temp=*hd;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;clrscr();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;if(temp-&amp;gt;next==NULL)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;printf(&quot;\nNOTHING TO DELETE&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;return;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;if(temp-&amp;gt;next-&amp;gt;next==NULL)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;if(temp-&amp;gt;next-&amp;gt;digit!=data)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;printf(&quot;\nDATA NOT FOUND IN SINGLE NODE&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;return;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;temp=temp-&amp;gt;next;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;printf(&quot;\nWARNING : SINGLE DATA DELETED &quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;prev=*hd;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;prev-&amp;gt;next=NULL;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;free(temp);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;printf(&quot;\n%d IS DELETED !!&quot;,data);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;return;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;prev=*hd;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;while(temp-&amp;gt;next!=NULL)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;temp=temp-&amp;gt;next;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;if(temp-&amp;gt;digit==data)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;prev-&amp;gt;next=temp-&amp;gt;next;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;free(temp);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;printf(&quot;\n%d IS DELETED&quot;,data);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;return;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;}//if&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;prev=prev-&amp;gt;next;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;}//while&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;printf(&quot;\nDATA NOT FOUND&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;void traverse(mynode *hd)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;mynode *temp=hd;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;clrscr();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;printf(&quot;\nData Available Are: \n&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;if(temp-&amp;gt;next==NULL)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;printf(&quot;\nNOTHING&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;return;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;while(hd-&amp;gt;next!=NULL)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;hd=hd-&amp;gt;next;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;printf(&quot;%d,&quot;,hd-&amp;gt;digit);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;void search(mynode *hd,int data)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;mynode *temp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;temp=hd;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;clrscr();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;while(temp-&amp;gt;next!=NULL)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;temp=temp-&amp;gt;next;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;if(temp-&amp;gt;digit==data)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;printf(&quot;\nData Found&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;return;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;printf(&quot;\nNOT FOUND&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;div align=&quot;justify&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 10px; margin-right: 10px; margin-top: 5px;&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;&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;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; !!! HOPE U LIKE IT !!!&lt;/div&gt;
&lt;div align=&quot;justify&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 10px; margin-right: 10px; margin-top: 5px;&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; !!!&amp;nbsp; THANKS FOR READING !!!&lt;/div&gt;
&lt;div class=&quot;text_exposed_show&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; !!!!!HAPPY PROGRAMMING !!!!!&lt;/div&gt;
&lt;div class=&quot;text_exposed_show&quot;&gt;
U Can catch me at &lt;a href=&quot;http://www.facebook.com/salokr&quot;&gt;http://www.facebook.com/salokr&lt;/a&gt; &lt;/div&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;/h2&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://salokr.blogspot.com/feeds/8853251316663319297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://salokr.blogspot.com/2012/08/simple-and-basic-linked-list-operations.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/8853251316663319297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/8853251316663319297'/><link rel='alternate' type='text/html' href='http://salokr.blogspot.com/2012/08/simple-and-basic-linked-list-operations.html' title='SIMPLE AND BASIC LINKED LIST OPERATIONS '/><author><name>Saurabh</name><uri>http://www.blogger.com/profile/12744515394966062206</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><georss:featurename>Pandeypur, Uttar Pradesh, India</georss:featurename><georss:point>26.5125521 83.8638691</georss:point><georss:box>26.5090001 83.8589336 26.5161041 83.8688046</georss:box></entry><entry><id>tag:blogger.com,1999:blog-5887008643055529209.post-3886877664091152135</id><published>2012-08-13T01:38:00.002-07:00</published><updated>2012-08-13T01:39:29.027-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="algorithm"/><category scheme="http://www.blogger.com/atom/ns#" term="counting"/><category scheme="http://www.blogger.com/atom/ns#" term="counting sort"/><category scheme="http://www.blogger.com/atom/ns#" term="sort"/><category scheme="http://www.blogger.com/atom/ns#" term="sorting"/><category scheme="http://www.blogger.com/atom/ns#" term="sorting algorithm"/><title type='text'>COUNTING SORT</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #990000;&quot;&gt;COUNTING SORT&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/h2&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;
#define n 1000&lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
int i,j,max=0,size;&lt;br /&gt;
int a[n],b[n],c[n];&lt;br /&gt;
clrscr();&lt;br /&gt;
printf(&quot;\nEnter Size \n&quot;);&lt;br /&gt;
scanf(&quot;%d&quot;,&amp;amp;size);&lt;br /&gt;
for(i=0;i&amp;lt;size;i++)&lt;br /&gt;
scanf(&quot;%d&quot;,&amp;amp;a[i]);&lt;br /&gt;
for(i=0;i&amp;lt;size;i++)&lt;br /&gt;
{&lt;br /&gt;
if(a[i]&amp;gt;max)&lt;br /&gt;
max=a[i];&lt;br /&gt;
}&lt;br /&gt;
//printf(&quot;\nMax=%d\n&quot;,max);&lt;br /&gt;
for(i=0;i&amp;lt;n;i++)&lt;br /&gt;
b[i]=c[i]=0;&lt;br /&gt;
for(i=0;i&amp;lt;size;i++)&lt;br /&gt;
b[a[i]]++;&lt;br /&gt;
/*printf(&quot;\nFrequency:&quot;);&lt;br /&gt;
for(i=0;i&amp;lt;=max;i++)&lt;br /&gt;
printf(&quot;%d,&quot;,b[i]); */&lt;br /&gt;
for(i=1;i&amp;lt;=max;i++)&lt;br /&gt;
b[i]=b[i]+b[i-1];&lt;br /&gt;
/*printf(&quot;\nCumulative Frequency :\n&quot;);&lt;br /&gt;
for(i=0;i&amp;lt;=max;i++)&lt;br /&gt;
printf(&quot;%d&quot;,b[i]); */&lt;br /&gt;
for(i=size-1;i&amp;gt;=0;i--)&lt;br /&gt;
{&lt;br /&gt;
c[b[a[i]]]=a[i];&lt;br /&gt;
b[a[i]]--;&lt;br /&gt;
}&lt;br /&gt;
printf(&quot;\nAfter Sorting\n&quot;);&lt;br /&gt;
for(i=1;i&amp;lt;=size;i++)&lt;br /&gt;
printf(&quot;%d,&quot;,c[i]);&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;br /&gt;
FOR MORE UNCOMMENT THE COMMENTED LINES OR GOTO &lt;a href=&quot;http://en.wikipedia.org/wiki/Counting_sort&quot;&gt;http://en.wikipedia.org/wiki/Counting_sort&lt;/a&gt;&lt;/div&gt;
&lt;div align=&quot;justify&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 10px; margin-right: 10px; margin-top: 5px;&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;&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;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; !!! HOPE U LIKE IT !!!&lt;/div&gt;
&lt;div align=&quot;justify&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 10px; margin-right: 10px; margin-top: 5px;&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; !!!&amp;nbsp; THANKS FOR READING !!!&lt;/div&gt;
&lt;div class=&quot;text_exposed_show&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; !!!!!HAPPY PROGRAMMING !!!!!&lt;/div&gt;
&lt;div class=&quot;text_exposed_show&quot;&gt;
U Can catch me at &lt;a href=&quot;http://www.facebook.com/salokr&quot;&gt;http://www.facebook.com/salokr&lt;/a&gt; &lt;/div&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;/h2&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;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://salokr.blogspot.com/feeds/3886877664091152135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://salokr.blogspot.com/2012/08/counting-sort.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/3886877664091152135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/3886877664091152135'/><link rel='alternate' type='text/html' href='http://salokr.blogspot.com/2012/08/counting-sort.html' title='COUNTING SORT'/><author><name>Saurabh</name><uri>http://www.blogger.com/profile/12744515394966062206</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><georss:featurename>Pandeypur, Uttar Pradesh, India</georss:featurename><georss:point>26.5125521 83.8638691</georss:point><georss:box>26.5090001 83.8589336 26.5161041 83.8688046</georss:box></entry><entry><id>tag:blogger.com,1999:blog-5887008643055529209.post-5722728797835199813</id><published>2012-08-11T08:32:00.000-07:00</published><updated>2012-08-11T08:32:36.323-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c"/><category scheme="http://www.blogger.com/atom/ns#" term="c programs"/><category scheme="http://www.blogger.com/atom/ns#" term="factorial"/><category scheme="http://www.blogger.com/atom/ns#" term="program for factorial"/><title type='text'>Program To Calculate Factorial Of Large Numbers</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Program To Calculate Factorial Of Very Large Numbers :-&lt;br /&gt;&lt;span&gt; ---------------------------&lt;/span&gt;&lt;span&gt;------------------------------&lt;/span&gt;&lt;span class=&quot;word_break&quot;&gt;&lt;/span&gt;&lt;span&gt;------------------------------&lt;/span&gt;&lt;span class=&quot;word_break&quot;&gt;&lt;/span&gt;&lt;span&gt;------------------------------&lt;/span&gt;&lt;span class=&quot;word_break&quot;&gt;&lt;/span&gt;&lt;span&gt;------------------------------&lt;/span&gt;&lt;span class=&quot;word_break&quot;&gt;&lt;/span&gt;----&lt;br /&gt;
&lt;div class=&quot;text_exposed_root text_exposed&quot; id=&quot;id_502678d395a300013013137&quot;&gt;
 #include&quot;stdio.h&quot;&lt;br /&gt; #define MAX 10000&lt;br /&gt; #include&amp;lt;conio.h&amp;gt;&lt;br /&gt; void factorialof(int);&lt;br /&gt; void multiply(int);&lt;br /&gt; int length = 0;&lt;br /&gt; int fact[MAX];&lt;br /&gt; &lt;br /&gt;&lt;div class=&quot;text_exposed_show&quot;&gt;
 void main(){&lt;br /&gt; int num;&lt;br /&gt; int i;&lt;br /&gt; clrscr();&lt;br /&gt; printf(&quot;Enter any integer number : &quot;);&lt;br /&gt; scanf(&quot;%d&quot;,&amp;amp;num);&lt;br /&gt; &lt;br /&gt; fact[0]=1;&lt;br /&gt; &lt;br /&gt; factorialof(num);&lt;br /&gt; &lt;br /&gt; printf(&quot;Factorial is : &quot;);&lt;br /&gt; for(i=length;i&amp;gt;=0;i--){&lt;br /&gt; printf(&quot;%d&quot;,fact[i]);&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; getch();&lt;br /&gt; }&lt;br /&gt; void factorialof(int num){&lt;br /&gt; int i;&lt;br /&gt; for(i=2;i&amp;lt;=num;i++){&lt;br /&gt; multiply(i);&lt;br /&gt; }&lt;br /&gt; }&lt;br /&gt; void multiply(int num){&lt;br /&gt; long i,r=0;&lt;br /&gt; int arr[MAX];&lt;br /&gt; for(i=0;i&amp;lt;=length;i++){&lt;br /&gt; arr[i]=fact[i];&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; for(i=0;i&amp;lt;=length;i++){&lt;br /&gt; fact[i] = (arr[i]*num + r)%10;&lt;br /&gt; r = (arr[i]*num + r)/10;&lt;br /&gt; //printf(&quot;%d &quot;,r);&lt;br /&gt; }&lt;br /&gt; if(r!=0){&lt;br /&gt; while(r!=0){&lt;br /&gt; fact[i]=r%10;&lt;br /&gt; r= r/10;&lt;br /&gt; i++;&lt;br /&gt; }&lt;br /&gt; }&lt;br /&gt; length = i-1;&lt;br /&gt; }&lt;/div&gt;
&lt;div class=&quot;text_exposed_show&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;text_exposed_show&quot;&gt;
This Program is Based On Concept Of Arbitrary Precision Arithmetic .&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;text_exposed_show&quot;&gt;
check out &lt;a href=&quot;http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic&quot; style=&quot;color: purple;&quot;&gt;http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic&lt;/a&gt; for more details .&lt;/div&gt;
&lt;div class=&quot;text_exposed_show&quot;&gt;
&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana; font-size: x-small;&quot;&gt;&lt;div align=&quot;justify&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 10px; margin-right: 10px; margin-top: 5px;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; !!! HOPE U LIKE IT !!! 
&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;text_exposed_show&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; !!!&amp;nbsp; THANKS FOR READING !!!&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; !!!!!HAPPY PROGRAMMING !!!!!&lt;/div&gt;
&lt;div class=&quot;text_exposed_show&quot;&gt;
U Can catch me at &lt;a href=&quot;http://www.facebook.com/salokr&quot;&gt;http://www.facebook.com/salokr&lt;/a&gt; &lt;/div&gt;
&lt;div align=&quot;justify&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 10px; margin-right: 10px; margin-top: 5px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;text_exposed_show&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salokr.blogspot.com/feeds/5722728797835199813/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://salokr.blogspot.com/2012/08/program-to-calculate-factorial-of-large.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/5722728797835199813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/5722728797835199813'/><link rel='alternate' type='text/html' href='http://salokr.blogspot.com/2012/08/program-to-calculate-factorial-of-large.html' title='Program To Calculate Factorial Of Large Numbers'/><author><name>Saurabh</name><uri>http://www.blogger.com/profile/12744515394966062206</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><georss:featurename>Pandeypur, Uttar Pradesh, India</georss:featurename><georss:point>26.5125521 83.8638691</georss:point><georss:box>26.5090001 83.8589336 26.5161041 83.8688046</georss:box></entry><entry><id>tag:blogger.com,1999:blog-5887008643055529209.post-4905666807024663989</id><published>2012-08-10T10:04:00.001-07:00</published><updated>2012-09-08T11:58:14.183-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="babylonian"/><category scheme="http://www.blogger.com/atom/ns#" term="babylonian method"/><category scheme="http://www.blogger.com/atom/ns#" term="method"/><category scheme="http://www.blogger.com/atom/ns#" term="program for square root"/><category scheme="http://www.blogger.com/atom/ns#" term="simple square root"/><category scheme="http://www.blogger.com/atom/ns#" term="square root"/><category scheme="http://www.blogger.com/atom/ns#" term="square root example"/><category scheme="http://www.blogger.com/atom/ns#" term="square root through c"/><category scheme="http://www.blogger.com/atom/ns#" term="through c"/><title type='text'>Program To Evaluate Square Root Of A Number</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;color: red;&quot;&gt;
&lt;u&gt;&lt;b&gt;Program To Evaluate Square Root Of A Number &lt;/b&gt;&lt;/u&gt;&lt;b&gt;:-&lt;/b&gt;&lt;u&gt;&lt;b&gt;&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&lt;b&gt;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;float a,q,b,i;&lt;br /&gt;clrscr();&lt;br /&gt;printf(&quot;Enter Any Number : &quot;);&lt;br /&gt;scanf(&quot;%f&quot;,&amp;amp;q);&lt;br /&gt;a=b=q/2;&lt;br /&gt;for(i=0;i&amp;lt;50;i++)&lt;br /&gt;{&lt;br /&gt;b=((a+(q/b))/2);&lt;br /&gt;a=b;&lt;br /&gt;}&lt;br /&gt;printf(&quot;The Square Root Of %f Is -&amp;gt; %f&quot;,q,b);&lt;br /&gt;getch();&lt;br /&gt;} &lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&lt;b style=&quot;color: orange;&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;&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 style=&quot;color: orange;&quot;&gt;&lt;b&gt;THIS EVALUATION&amp;nbsp; IS BASED ON BABYLONIAN METHOD&lt;/b&gt;&lt;/u&gt;&lt;span style=&quot;color: black; font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;justify&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 10; margin-right: 10; margin-top: 5;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: black; font-family: Verdana; font-size: x-small;&quot;&gt; 
&lt;b style=&quot;color: #9fc5e8;&quot;&gt; Square roots by Divide-and-Average &lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;This method dating back to the Babylonians (1700 B.C.) is known as the Babylonian Algorithm.&lt;/span&gt;&lt;br style=&quot;color: red;&quot; /&gt;&lt;span style=&quot;color: red;&quot;&gt;
If A &amp;gt; 0 is a guess of the square root of the positive number Q, then a better approximation to √Q is given by&lt;/span&gt;&lt;br style=&quot;color: red;&quot; /&gt;&lt;span style=&quot;color: red;&quot;&gt;
 B = (A + Q/A)/2.&lt;/span&gt;&lt;br style=&quot;color: red;&quot; /&gt;&lt;span style=&quot;color: red;&quot;&gt;
 Now you use B as an approximation and compute C = (B + Q/B)/2, and so on to get as close as you want to the value of √Q.
 We have shown elsewhere why the&lt;/span&gt;&lt;u style=&quot;color: red;&quot;&gt; &lt;a href=&quot;http://www.mathpath.org/Algor/squareroot/algor.babylon.htm&quot;&gt;Babylonian Algorithm&lt;/a&gt;&lt;/u&gt;&lt;span style=&quot;color: red;&quot;&gt; works.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt; 
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;justify&quot; class=&quot;MsoNormal&quot; style=&quot;color: red; margin-left: 10px; margin-right: 10px; margin-top: 5px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt; 
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: red; font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;
&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;
&lt;div align=&quot;justify&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 10; margin-right: 10; margin-top: 5;&quot;&gt;
&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt; 
Example:&lt;br /&gt;
Let us find the square root of 5.
Let A = 2.&lt;br /&gt;
Then B = (2 + 5/2)/2 = 2.25&lt;br /&gt;
C = (B + Q/B)/2 = (2.25 + 5/2.25)/2 = (2.25 + 2.22)/2 = 2.235&lt;br /&gt;
Notice that this value is getting closer with each iteration to the actual value 2.2360679... 
&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt; 
&lt;div align=&quot;justify&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 10; margin-right: 10; margin-top: 5;&quot;&gt;
&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt; 
You might wonder how one might even think of Q/A in connection with finding the square root of Q. 
Well, if A were indeed the square root of Q, then A&lt;sup&gt;2&lt;/sup&gt; = Q and so A = Q/A. 
And even if A is not the square root of Q so that A &lt;span style=&quot;font-family: Symbol;&quot;&gt;¹&lt;/span&gt;
 Q/A, it turns out that
√Q lies strictly between A and Q/A, and their average B produces a 
shorter interval from B to Q/B within which √Q still lies and the 
average of B and Q/B produces an even shorter interval containing √Q, 
and so on.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;justify&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 10px; margin-right: 10px; margin-top: 5px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;FOR MORE GOTO &lt;a href=&quot;http://en.wikipedia.org/wiki/Methods_of_computing_square_roots&quot;&gt;&lt;u&gt;http://en.wikipedia.org/wiki/Methods_of_computing_square_roots&lt;/u&gt;&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;justify&quot; class=&quot;MsoNormal&quot; style=&quot;margin-left: 10px; margin-right: 10px; margin-top: 5px;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; !!! HOPE U LIKE IT !!! 
&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style=&quot;color: red;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;text_exposed_show&quot; 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;&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;&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; THANKS FOR READING !!!&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; !!!!!HAPPY PROGRAMMING !!!!!&lt;/div&gt;
&lt;div class=&quot;text_exposed_show&quot; style=&quot;color: red;&quot;&gt;
U Can catch me at &lt;a href=&quot;http://www.facebook.com/salokr&quot;&gt;http://www.facebook.com/salokr&lt;/a&gt; &lt;/div&gt;
&lt;div style=&quot;color: red;&quot;&gt;
&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;justify&quot; class=&quot;MsoNormal&quot; style=&quot;color: red; margin-left: 10px; margin-right: 10px; margin-top: 5px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;justify&quot; class=&quot;MsoNormal&quot; style=&quot;color: red; margin-left: 10px; margin-right: 10px; margin-top: 5px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://salokr.blogspot.com/feeds/4905666807024663989/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://salokr.blogspot.com/2012/08/program-to-evaluate-square-root-of.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/4905666807024663989'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/4905666807024663989'/><link rel='alternate' type='text/html' href='http://salokr.blogspot.com/2012/08/program-to-evaluate-square-root-of.html' title='Program To Evaluate Square Root Of A Number'/><author><name>Saurabh</name><uri>http://www.blogger.com/profile/12744515394966062206</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>2</thr:total><georss:featurename>Pandeypur, Uttar Pradesh, India</georss:featurename><georss:point>26.5125521 83.8638691</georss:point><georss:box>26.5090001 83.8589336 26.5161041 83.8688046</georss:box></entry><entry><id>tag:blogger.com,1999:blog-5887008643055529209.post-2146099278871728069</id><published>2012-08-10T09:29:00.003-07:00</published><updated>2012-09-08T12:05:45.272-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c program"/><category scheme="http://www.blogger.com/atom/ns#" term="database"/><category scheme="http://www.blogger.com/atom/ns#" term="linked database"/><category scheme="http://www.blogger.com/atom/ns#" term="LINKED LIST"/><category scheme="http://www.blogger.com/atom/ns#" term="linked list database"/><category scheme="http://www.blogger.com/atom/ns#" term="list database"/><category scheme="http://www.blogger.com/atom/ns#" term="program"/><category scheme="http://www.blogger.com/atom/ns#" term="salokr"/><category scheme="http://www.blogger.com/atom/ns#" term="salokr&#39;s"/><category scheme="http://www.blogger.com/atom/ns#" term="saurabh"/><category scheme="http://www.blogger.com/atom/ns#" term="saurabh&#39;s blog"/><category scheme="http://www.blogger.com/atom/ns#" term="simple database"/><category scheme="http://www.blogger.com/atom/ns#" term="SINGLY LINKED LIST"/><title type='text'>A Simple Database Using Linked List</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;u&gt;A Simple Database Using Linked List :-&lt;/u&gt;&lt;br /&gt;
___________________________________________________________________________________________________________________ &lt;br /&gt;
#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;
#include&amp;lt;string.h&amp;gt;&lt;br /&gt;
struct table&lt;br /&gt;
&amp;nbsp;{&lt;br /&gt;
&amp;nbsp; char name[50];&lt;br /&gt;
&amp;nbsp; char add[50];&lt;br /&gt;
&amp;nbsp; int age;&lt;br /&gt;
&amp;nbsp; int salary;&lt;br /&gt;
&amp;nbsp; struct table *next;&lt;br /&gt;
&amp;nbsp;};&lt;br /&gt;
struct table *head;&lt;br /&gt;
void insert();&lt;br /&gt;
void sort();&lt;br /&gt;
void create();&lt;br /&gt;
void dis();&lt;br /&gt;
void search();&lt;br /&gt;
void del();&lt;br /&gt;
void main()&lt;br /&gt;
&amp;nbsp;{&lt;br /&gt;
&amp;nbsp; int i,choice;&lt;br /&gt;
&amp;nbsp; clrscr();&lt;br /&gt;
&amp;nbsp; head=NULL;&lt;br /&gt;
&amp;nbsp; printf(&quot;\n\n\n\n\n\n\n\n\n\n\n\n\n&quot;);&lt;br /&gt;
&amp;nbsp; for(i=0;i&amp;lt;80;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;-&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp; printf(&quot;\n\n\n\n\t\t&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WELCOME TO YOUR DATABASE\n\n\n\n&quot;);&lt;br /&gt;
&amp;nbsp; for(i=0;i&amp;lt;80;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;-&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp; printf(&quot;\n\n\t\t\tEnter any key to continue......\n&quot;);&lt;br /&gt;
&amp;nbsp; getch();&lt;br /&gt;
&amp;nbsp; clrscr();&lt;br /&gt;
&amp;nbsp; printf(&quot;\n\n\n\n&quot;);&lt;br /&gt;
&amp;nbsp; while(1)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; clrscr();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; for(i=0;i&amp;lt;80;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;-&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp; printf(&quot;\n\n\n\n\n\t\t\t1-for create list\n\n&quot;);&lt;br /&gt;
&amp;nbsp; printf(&quot;\t\t\t2-for sort list\n\n&quot;);&lt;br /&gt;
&amp;nbsp; printf(&quot;\t\t\t3-search data item\n\n&quot;);&lt;br /&gt;
&amp;nbsp; printf(&quot;\t\t\t4-insert item\n\n&quot;);&lt;br /&gt;
&amp;nbsp; printf(&quot;\t\t\t5-delete item\n\n&quot;);&lt;br /&gt;
&amp;nbsp; printf(&quot;\t\t\t6-display list\n\n&quot;);&lt;br /&gt;
&amp;nbsp; printf(&quot;\t\t\t7-exit program\n\n\n\n\n&quot;);&lt;br /&gt;
&amp;nbsp; for(i=0;i&amp;lt;80;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;-&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; printf(&quot;\n\n\n\n\t\t\tenter your choice\n\t\t\t&quot;);&lt;br /&gt;
&amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;choice);&lt;br /&gt;
&amp;nbsp; switch(choice)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; case 1:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; clrscr();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; create();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dis();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; case 2:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //create();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;before sorting\n\n\n&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fflush(stdin);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dis();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fflush(stdin);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sort();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\nafter sorting\n\n\n&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fflush(stdin);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dis();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; case 3:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //create();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dis();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; search();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; case 4:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; insert();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //sort();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dis();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; case 5:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; del();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dis();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; case 6:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dis();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; case 7:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; default:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\n\t\t\twrong choice\n&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; getch();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; exit();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp; getch();&lt;br /&gt;
&amp;nbsp;}&lt;br /&gt;
}&lt;br /&gt;
void sort()&lt;br /&gt;
&amp;nbsp;{&lt;br /&gt;
&amp;nbsp; int choice,i,j,temp1,temp2,c=0;&lt;br /&gt;
&amp;nbsp; char s[50],q[50];&lt;br /&gt;
&amp;nbsp; struct table *p;&lt;br /&gt;
&amp;nbsp; p=head;&lt;br /&gt;
&amp;nbsp; while(p!=NULL)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; c++;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; p=p-&amp;gt;next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
//&amp;nbsp; printf(&quot;c=%d&quot;,c);&lt;br /&gt;
&amp;nbsp; getch();&lt;br /&gt;
&amp;nbsp; clrscr();&lt;br /&gt;
&amp;nbsp;// do&lt;br /&gt;
&amp;nbsp; //{&lt;br /&gt;
&amp;nbsp; for(i=0;i&amp;lt;80;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; printf(&quot;-&quot;);&lt;br /&gt;
&amp;nbsp; printf(&quot;\n\n\n\t\t\tpress 1-sort by age\n&quot;);&lt;br /&gt;
&amp;nbsp; printf(&quot;\t\t\tpress 2-sort by name\n&quot;);&lt;br /&gt;
&amp;nbsp; printf(&quot;\t\t\tpress 3-sort by add\n&quot;);&lt;br /&gt;
&amp;nbsp; printf(&quot;\t\t\tpress 4-sort by salary\n\n\n&quot;);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; for(i=0;i&amp;lt;80;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; printf(&quot;-&quot;);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; printf(&quot;\n\n\n\t\t\tenter choice\n\t\t\t&quot;);&lt;br /&gt;
&amp;nbsp; fflush(stdin);&lt;br /&gt;
&amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;choice);&lt;br /&gt;
&amp;nbsp; fflush(stdin);&lt;br /&gt;
&amp;nbsp; switch(choice)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; case 1:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=1;i&amp;lt;=c;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p=head;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(j=1;j&amp;lt;=c-i;j++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if(p-&amp;gt;next-&amp;gt;age&amp;lt;p-&amp;gt;age)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(s,p-&amp;gt;next-&amp;gt;name);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(q,p-&amp;gt;next-&amp;gt;add);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; temp1=p-&amp;gt;next-&amp;gt;age;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; temp2=p-&amp;gt;next-&amp;gt;salary;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(p-&amp;gt;next-&amp;gt;name,p-&amp;gt;name);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(p-&amp;gt;next-&amp;gt;add,p-&amp;gt;add);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; p-&amp;gt;next-&amp;gt;age=p-&amp;gt;age;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; p-&amp;gt;next-&amp;gt;salary=p-&amp;gt;salary;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(p-&amp;gt;name,s);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(p-&amp;gt;add,q);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; p-&amp;gt;age=temp1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; p-&amp;gt;salary=temp2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; p=p-&amp;gt;next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;
&amp;nbsp;case 2:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //c=1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=1;i&amp;lt;c;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p=head;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(j=1;j&amp;lt;=c-i;j++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if((strcmp(p-&amp;gt;next-&amp;gt;name,p-&amp;gt;name))&amp;lt;=0)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(s,p-&amp;gt;next-&amp;gt;name);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(q,p-&amp;gt;next-&amp;gt;add);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; temp1=p-&amp;gt;next-&amp;gt;age;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; temp2=p-&amp;gt;next-&amp;gt;salary;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(p-&amp;gt;next-&amp;gt;name,p-&amp;gt;name);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(p-&amp;gt;next-&amp;gt;add,p-&amp;gt;add);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; p-&amp;gt;next-&amp;gt;age=p-&amp;gt;age;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; p-&amp;gt;next-&amp;gt;salary=p-&amp;gt;salary;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(p-&amp;gt;name,s);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(p-&amp;gt;add,q);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; p-&amp;gt;age=temp1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; p-&amp;gt;salary=temp2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; p=p-&amp;gt;next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;
&amp;nbsp; case 3:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=1;i&amp;lt;c;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p=head;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(j=1;j&amp;lt;=c-i;j++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if((strcmp(p-&amp;gt;next-&amp;gt;add,p-&amp;gt;add))&amp;lt;0)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(s,p-&amp;gt;next-&amp;gt;name);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(q,p-&amp;gt;next-&amp;gt;add);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; temp1=p-&amp;gt;next-&amp;gt;age;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; temp2=p-&amp;gt;next-&amp;gt;salary;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(p-&amp;gt;next-&amp;gt;name,p-&amp;gt;name);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(p-&amp;gt;next-&amp;gt;add,p-&amp;gt;add);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; p-&amp;gt;next-&amp;gt;age=p-&amp;gt;age;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; p-&amp;gt;next-&amp;gt;salary=p-&amp;gt;salary;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(p-&amp;gt;name,s);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(p-&amp;gt;add,q);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; p-&amp;gt;age=temp1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; p-&amp;gt;salary=temp2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p=p-&amp;gt;next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;
&amp;nbsp;case 4:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=1;i&amp;lt;c;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p=head;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(j=1;j&amp;lt;=c-i;j++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if(p-&amp;gt;next-&amp;gt;salary&amp;lt;p-&amp;gt;salary)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(s,p-&amp;gt;next-&amp;gt;name);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(q,p-&amp;gt;next-&amp;gt;add);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; temp1=p-&amp;gt;next-&amp;gt;age;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; temp2=p-&amp;gt;next-&amp;gt;salary;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(p-&amp;gt;next-&amp;gt;name,p-&amp;gt;name);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(p-&amp;gt;next-&amp;gt;add,p-&amp;gt;add);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; p-&amp;gt;next-&amp;gt;age=p-&amp;gt;age;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; p-&amp;gt;next-&amp;gt;salary=p-&amp;gt;salary;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(p-&amp;gt;name,s);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(p-&amp;gt;add,q);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; p-&amp;gt;age=temp1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; p-&amp;gt;salary=temp2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; p=p-&amp;gt;next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;}&lt;br /&gt;
void create()&lt;br /&gt;
&amp;nbsp;{&lt;br /&gt;
&amp;nbsp; FILE *j;&lt;br /&gt;
&amp;nbsp; struct table *k,*l;&lt;br /&gt;
&amp;nbsp; char ch;&lt;br /&gt;
&amp;nbsp; char p[50],q[50];&lt;br /&gt;
&amp;nbsp; int a,b,i;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; getch();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; clrscr();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; k=(struct table *)malloc(sizeof(struct table));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; head=k;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0;i&amp;lt;80;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;-&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\n\t\t\tenter name\n\t\t\t&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; fflush(stdin);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; gets(p);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\t\t\tenter address\n\t\t\t&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; fflush(stdin);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; gets(q);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\t\t\tenter age\n\t\t\t&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;a);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\t\t\tenter salary\n\t\t\t&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;b);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; strcpy(k-&amp;gt;name,p);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; strcpy(k-&amp;gt;add,q);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; k-&amp;gt;age=a;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; k-&amp;gt;salary=b;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; k-&amp;gt;next=NULL;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; do&lt;br /&gt;
&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; clrscr();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0;i&amp;lt;80;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;-&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; l= (struct table *)malloc(sizeof(struct table));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; k-&amp;gt;next=l;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; k=l;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\t\t\tenter name\n\t\t\t&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; fflush(stdin);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; gets(p);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\t\t\tenter address\n\t\t\t&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; fflush(stdin);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; gets(q);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\t\t\tenter age\n\t\t\t&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;a);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\t\t\tenter salary\n\t\t\t&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;b);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; strcpy(l-&amp;gt;name,p);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; strcpy(l-&amp;gt;add,q);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; l-&amp;gt;age=a;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; l-&amp;gt;salary=b;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; l-&amp;gt;next=NULL;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\n\t\t\tenter choice (y/n)\n\t\t\t&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; fflush(stdin);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%c&quot;,&amp;amp;ch);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }while (ch!=&#39;n&#39;);&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
&amp;nbsp; void search()&lt;br /&gt;
&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; char na[10];&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; int i,c=0,ag,j,choice;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; struct table *l,*p,*q;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; getch();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; clrscr();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; p=head;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; while(p!=NULL)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c++;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p=p-&amp;gt;next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; l=(struct table *)malloc(sizeof(struct table));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; l-&amp;gt;next=NULL;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; p-&amp;gt;next=l;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0;i&amp;lt;80;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;-&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\n\t\t\t1-search by name\n&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\t\t\t2-search by address\n&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\t\t\t3-search by age\n&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\t\t\t4-search by salary\n\n&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0;i&amp;lt;80;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;-&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\n\tenter your choice\n\n\t&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; fflush(stdin);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;choice);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; switch(choice)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case 1:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\n\n\n&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0;i&amp;lt;80;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;printf(&quot;-&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\n\tenter the name u want to serach\n\n\n\t&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fflush(stdin);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gets(na);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p=head;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\tsearch complete data found \n\n\n&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(p-&amp;gt;next!=NULL)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if((strcmp(p-&amp;gt;name,na))==0)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; printf(&quot;\t%s\t%s\t%d\t%d\n\n&quot;,p-&amp;gt;name,p-&amp;gt;add,p-&amp;gt;age,p-&amp;gt;salary);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; p=p-&amp;gt;next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; j++;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if(p==NULL)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; getch();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; clrscr();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; printf(&quot;serach complete data not found\n&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; case 2:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\n\n\n&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0;i&amp;lt;80;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;printf(&quot;-&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\n\tenter the address u want to serach\n\n\n\t&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fflush(stdin);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gets(na);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p=head;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\tsearch complete data found \n\n\n&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(p-&amp;gt;next!=NULL)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if((strcmp(p-&amp;gt;add,na))==0)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; printf(&quot;\t%s\t%s\t%d\t%d\n\n&quot;,p-&amp;gt;name,p-&amp;gt;add,p-&amp;gt;age,p-&amp;gt;salary);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; p=p-&amp;gt;next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if(p==NULL)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; getch();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; clrscr();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; printf(&quot;\n\n\n\n\t\tserach complete data not found\n&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; case 3:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\n\n\n&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0;i&amp;lt;80;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;printf(&quot;-&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\n\tenter the age u want to serach\n\n\n\t&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fflush(stdin);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;ag);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p=head;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\tsearch complete data found \n\n\n&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(p-&amp;gt;next!=NULL)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if(p-&amp;gt;age==ag)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; printf(&quot;\t%s\t%s\t%d\t%d\n\n&quot;,p-&amp;gt;name,p-&amp;gt;add,p-&amp;gt;age,p-&amp;gt;salary);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; p=p-&amp;gt;next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if(p==NULL)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; getch();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; clrscr();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; printf(&quot;serach complete data not found\n&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; case 4:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\n\n\n&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0;i&amp;lt;80;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;printf(&quot;-&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\n\tenter the salary u want to serach\n\n\n\t&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fflush(stdin);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;ag);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p=head;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(p-&amp;gt;next!=NULL)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if(p-&amp;gt;salary==ag)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; printf(&quot;\t\n\nsearch complete data found \n\n\n&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; printf(&quot;\t%s\t%s\t%d\t%d\n\n\n&quot;,p-&amp;gt;name,p-&amp;gt;add,p-&amp;gt;age,p-&amp;gt;salary);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; p=p-&amp;gt;next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(p==NULL)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; getch();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; clrscr();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; printf(&quot;serach complete data not found\n&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp; p=head;&lt;br /&gt;
&amp;nbsp; while(p!=NULL)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; q=p;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p=p-&amp;gt;next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp; q-&amp;gt;next=NULL;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; free(p);&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
&amp;nbsp; void dis()&lt;br /&gt;
&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; struct table *q;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; int i;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; clrscr();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\t\t\tNAME\tADDRESS\tAGE\tSALRY\n\n&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\n&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0;i&amp;lt;80;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;-&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; q=head;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; while(q!=NULL)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\n\t\t\t%s\t%s\t%d\t%d\n&quot;,q-&amp;gt;name,q-&amp;gt;add,q-&amp;gt;age,q-&amp;gt;salary);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; q=q-&amp;gt;next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\n&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0;i&amp;lt;80;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;-&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; getch();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp; void insert()&lt;br /&gt;
&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; int c=0,i,l,j,temp1,temp2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; char s[50],p[50],q[50];&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; struct table&amp;nbsp; *ph,*m,*t;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; clrscr();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0;i&amp;lt;80;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;-&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\n\n\n\t\t\tenter name\n\t\t\t&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; fflush(stdin);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; gets(p);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\n\n\n\t\t\tenter add\n\t\t\t&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; fflush(stdin);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; gets(q);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\n\n\n\t\t\tenter age\n\t\t\t&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; fflush(stdin);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;l);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\n\n\n\t\t\tenter salary\n\t\t\t&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; fflush(stdin);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;j);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; m=(struct table *)malloc (sizeof(struct table));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; m-&amp;gt;next=NULL;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; strcpy(m-&amp;gt;name,p);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; strcpy(m-&amp;gt;add,q);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; m-&amp;gt;age=l;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; m-&amp;gt;salary=j;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; t=head;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; while(t-&amp;gt;next!=NULL)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t=t-&amp;gt;next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; t-&amp;gt;next=m;&lt;br /&gt;
&amp;nbsp; t=head;&lt;br /&gt;
&amp;nbsp; while(t!=NULL)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; c++;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; t=t-&amp;gt;next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp; for(i=1;i&amp;lt;c;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ph=head;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(j=1;j&amp;lt;=c-i;j++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if((strcmp(ph-&amp;gt;next-&amp;gt;name,ph-&amp;gt;name))&amp;lt;=0)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(s,ph-&amp;gt;next-&amp;gt;name);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(q,ph-&amp;gt;next-&amp;gt;add);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; temp1=ph-&amp;gt;next-&amp;gt;age;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; temp2=ph-&amp;gt;next-&amp;gt;salary;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(ph-&amp;gt;next-&amp;gt;name,ph-&amp;gt;name);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(ph-&amp;gt;next-&amp;gt;add,ph-&amp;gt;add);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; ph-&amp;gt;next-&amp;gt;age=ph-&amp;gt;age;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; ph-&amp;gt;next-&amp;gt;salary=ph-&amp;gt;salary;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(ph-&amp;gt;name,s);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; strcpy(ph-&amp;gt;add,q);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; ph-&amp;gt;age=temp1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; ph-&amp;gt;salary=temp2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ph=ph-&amp;gt;next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
&amp;nbsp; void del()&lt;br /&gt;
&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int i,choice,gh;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; char n[50];&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; struct table *p,*q;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; clrscr();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0;i&amp;lt;80;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;-&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\n\n\t\t\t1-del by name\n&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\t\t\t2-del by add\n&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\t\t\t3-del by age\n&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\t\t\t4-del by salary\n\n\n&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0;i&amp;lt;80;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;-&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;\n\t\t\tEnter your choice\n\t\t\t&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fflush(stdin);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&quot;%d&quot;,&amp;amp;choice);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; switch(choice)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; case 1:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;for(i=0;i&amp;lt;80;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; printf(&quot;-&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;printf(&quot;\n\n\n\t\t\tenter name to delete\n\t\t\t&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;fflush(stdin);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;gets(n);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;p=head;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if((p==head)&amp;amp;&amp;amp;(strcmp(p-&amp;gt;name,n)==0))&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; head=p-&amp;gt;next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; free(p);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;else&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;while(p!=NULL)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; if(strcmp(p-&amp;gt;name,n)==0)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &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; break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; q=p;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; p=p-&amp;gt;next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; q-&amp;gt;next=p-&amp;gt;next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; free(p);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if(p==NULL)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; q-&amp;gt;next=NULL;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; free(p);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;case 2:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;for(i=0;i&amp;lt;80;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; printf(&quot;-&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;printf(&quot;\n\n\n\t\t\tenter add to delete\n\t\t\t&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;fflush(stdin);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;gets(n);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;p=head;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if((p==head)&amp;amp;&amp;amp;(strcmp(p-&amp;gt;add,n)==0))&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; head=p-&amp;gt;next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; free(p);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;else&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;while(p!=NULL)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; if(strcmp(p-&amp;gt;add,n)==0)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &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; break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; q=p;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; p=p-&amp;gt;next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; q-&amp;gt;next=p-&amp;gt;next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; free(p);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if(p==NULL)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; q-&amp;gt;next=NULL;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; free(p);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case 3:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;for(i=0;i&amp;lt;80;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; printf(&quot;-&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;printf(&quot;\n\n\n\t\t\tenter age to delete\n\t\t\t&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;fflush(stdin);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;,&amp;amp;gh);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;p=head;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if((p==head)&amp;amp;&amp;amp;(p-&amp;gt;age==gh))&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; head=p-&amp;gt;next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; free(p);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;else&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;while(p!=NULL)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; if((p-&amp;gt;age==gh))&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &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; break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; q=p;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; p=p-&amp;gt;next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; q-&amp;gt;next=p-&amp;gt;next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; free(p);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if(p==NULL)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; q-&amp;gt;next=NULL;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; free(p);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case 4:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;for(i=0;i&amp;lt;80;i++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; printf(&quot;-&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;printf(&quot;\n\n\n\t\t\tenter salary to delete\n\t\t\t&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;fflush(stdin);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;,&amp;amp;gh);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;p=head;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if((p==head)&amp;amp;&amp;amp;((p-&amp;gt;salary==gh)))&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; head=p-&amp;gt;next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; free(p);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;else&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;while(p!=NULL)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; if((p-&amp;gt;salary==gh))&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &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; break;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; q=p;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; p=p-&amp;gt;next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; q-&amp;gt;next=p-&amp;gt;next;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; free(p);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if(p==NULL)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; q-&amp;gt;next=NULL;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; free(p);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;break;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
_____________________________________________________________________________________&lt;br /&gt;
JUST USE IT BY COPY PASTING THE CODE AND SAVE THE FILE AS anyname.c THEN COMPILE IT AND USE , ANY DOUBT CAN BE ASKED...&lt;br /&gt;
U CAN CATCHME AT http://www.facebook.com/salokr.&lt;br /&gt;
&lt;div class=&quot;text_exposed_show&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;&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;&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; !!! HOPE U LIKE IT !!! &lt;/div&gt;
&lt;div class=&quot;text_exposed_show&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; !!!&amp;nbsp; THANKS FOR READING !!!&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; !!!!!HAPPY PROGRAMMING !!!!!&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://salokr.blogspot.com/feeds/2146099278871728069/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://salokr.blogspot.com/2012/08/a-simple-database-using-linked-list.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/2146099278871728069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/2146099278871728069'/><link rel='alternate' type='text/html' href='http://salokr.blogspot.com/2012/08/a-simple-database-using-linked-list.html' title='A Simple Database Using Linked List'/><author><name>Saurabh</name><uri>http://www.blogger.com/profile/12744515394966062206</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><georss:featurename>Pandeypur, Uttar Pradesh, India</georss:featurename><georss:point>26.5125521 83.8638691</georss:point><georss:box>26.5090001 83.8589336 26.5161041 83.8688046</georss:box></entry><entry><id>tag:blogger.com,1999:blog-5887008643055529209.post-7419011382271196929</id><published>2012-08-10T04:07:00.004-07:00</published><updated>2012-08-10T04:10:32.283-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="c"/><category scheme="http://www.blogger.com/atom/ns#" term="equation solving"/><category scheme="http://www.blogger.com/atom/ns#" term="gauss"/><category scheme="http://www.blogger.com/atom/ns#" term="gauss-siedel"/><category scheme="http://www.blogger.com/atom/ns#" term="gausssiedel"/><category scheme="http://www.blogger.com/atom/ns#" term="implemenation"/><category scheme="http://www.blogger.com/atom/ns#" term="siedel"/><category scheme="http://www.blogger.com/atom/ns#" term="through c"/><title type='text'>Gauss-Siedel Implementation Through C</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Gauss-Siedel Implementation Through C :-&lt;br /&gt;
------------------------------&lt;br /&gt;
&lt;div class=&quot;text_exposed_root text_exposed&quot; id=&quot;id_5024eb29598da9f57861163&quot;&gt;
&lt;wbr&gt;&lt;/wbr&gt;&lt;/div&gt;
&lt;span class=&quot;word_break&quot;&gt;&lt;/span&gt;------------------------------&lt;wbr&gt;&lt;/wbr&gt;&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;span class=&quot;word_break&quot;&gt;&lt;/span&gt;------------------------------&lt;wbr&gt;&lt;/wbr&gt;&lt;br /&gt;
&lt;br /&gt;&lt;span class=&quot;word_break&quot;&gt;&lt;/span&gt;---------&lt;br /&gt;
#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
float x1,x2,x3,it1,it2,it3,a,b,c,d1,&lt;wbr&gt;&lt;/wbr&gt;&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;span class=&quot;word_break&quot;&gt;&lt;/span&gt;i,j,k,d2,p,q,r,d3;&lt;br /&gt;
int m;&lt;br /&gt;
clrscr();&lt;br /&gt;
printf(&quot;Enter Coefficients For First Equation&quot;);&lt;br /&gt;
&lt;div class=&quot;text_exposed_show&quot;&gt;
scanf(&quot;\n%f %f %f %f&quot;,&amp;amp;a,&amp;amp;b,&amp;amp;c,&amp;amp;d1);&lt;br /&gt;
printf(&quot;\nEnter Coefficient For second Equation&quot;);&lt;br /&gt;
scanf(&quot;\n%f %f %f %f&quot;,&amp;amp;p,&amp;amp;q,&amp;amp;r,&amp;amp;d2);&lt;br /&gt;
printf(&quot;Enter Coefficient For Thirs Equation&quot;);&lt;br /&gt;
scanf(&quot;\n%f %f %f %f&quot;,&amp;amp;i,&amp;amp;j,&amp;amp;k,&amp;amp;d3);&lt;br /&gt;
x1=0;&lt;br /&gt;
x2=0;&lt;br /&gt;
x3=0;&lt;br /&gt;
for(m=1;m&amp;lt;=5;m++)&lt;br /&gt;
{&lt;br /&gt;
it1=(d1-b*x2-c*x3)/a;&lt;br /&gt;
x1=it1;&lt;br /&gt;
it2=(d2-p*x1-r*x3)/q;&lt;br /&gt;
x2=it2;&lt;br /&gt;
it3=(d3-x1*i-x2*j)/k;&lt;br /&gt;
x3=it3;&lt;br /&gt;
printf(&quot;\nThe Three Coefficients Are X1= %f X2=%f and X3=%f&quot;,x1,x2,x3);&lt;br /&gt;
}&lt;br /&gt;
printf(&quot;\nThe Three Coefficients Are X1= %f X2=%f and X3=%f&quot;,x1,x2,x3);&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;/div&gt;
&lt;div class=&quot;text_exposed_show&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;text_exposed_show&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;text_exposed_show&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;&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; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; !!!&amp;nbsp; THANKS FOR READING !!!&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; !!!!!HAPPY PROGRAMMING !!!!!&lt;br /&gt;
&amp;nbsp;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salokr.blogspot.com/feeds/7419011382271196929/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://salokr.blogspot.com/2012/08/blog-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/7419011382271196929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/7419011382271196929'/><link rel='alternate' type='text/html' href='http://salokr.blogspot.com/2012/08/blog-post.html' title='Gauss-Siedel Implementation Through C'/><author><name>Saurabh</name><uri>http://www.blogger.com/profile/12744515394966062206</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><georss:featurename>Pandeypur, Uttar Pradesh, India</georss:featurename><georss:point>26.5125521 83.8638691</georss:point><georss:box>26.5090001 83.8589336 26.5161041 83.8688046</georss:box></entry><entry><id>tag:blogger.com,1999:blog-5887008643055529209.post-8224294642205364808</id><published>2012-08-10T03:54:00.000-07:00</published><updated>2012-08-10T03:54:37.722-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ARRAY USE"/><category scheme="http://www.blogger.com/atom/ns#" term="FORWARD DIFFERNECE TABLE"/><category scheme="http://www.blogger.com/atom/ns#" term="NEWTON&#39;S FORWARD DIFFERENCE TABLE"/><category scheme="http://www.blogger.com/atom/ns#" term="NUMERICAL TECHNIQUES"/><title type='text'>NEWTON&#39;S FORWARD DIFFERNECE TABLE</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
NOW I&#39;M GOING TO DEMONSTRATE YOU A PROGRAM ON NEWTON&#39;S FORWARD DIFFERNECE TABLE WHICH IS USED IN NUMERICAL TECHNIQUES :-&lt;br /&gt;
#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt; #include&amp;lt;conio.h&amp;gt;&lt;br /&gt; void main()&lt;br /&gt; {&lt;br /&gt; float x[50],y[50],table[50][50];&lt;br /&gt; int i,j,n;&lt;br /&gt; clrscr();&lt;br /&gt; printf(&quot;\nEnter Table Size &quot;);&lt;br /&gt;
&lt;div class=&quot;text_exposed_show&quot;&gt;
 scanf(&quot;%d&quot;,&amp;amp;n);&lt;br /&gt; for(i=0;i&amp;lt;n;i++)&lt;br /&gt; {&lt;br /&gt; printf(&quot;\nEnter Value for X[%d]&quot;,i+1);&lt;br /&gt; scanf(&quot;%f&quot;,&amp;amp;x[i]);&lt;br /&gt; printf(&quot;\nEnter Value For Y[%d]&quot;,i+1);&lt;br /&gt; scanf(&quot;%f&quot;,&amp;amp;y[i]);&lt;br /&gt; }&lt;br /&gt; printf(&quot;\nThe Tabulated Value Is &quot;);&lt;br /&gt; printf(&quot;\n&quot;);&lt;br /&gt; for(i=0;i&amp;lt;n-1;i++)&lt;br /&gt; {&lt;br /&gt; for(j=0;j&amp;lt;n-i-1;j++)&lt;br /&gt; {&lt;br /&gt; if(i==0)&lt;br /&gt; table[i][j]=y[j+1]-y[j];&lt;br /&gt; else&lt;br /&gt;&lt;span&gt; table[i][j]=(table[i-1][j+1])-&lt;/span&gt;&lt;wbr&gt;&lt;/wbr&gt;&lt;span class=&quot;word_break&quot;&gt;&lt;/span&gt;(table[i-1][j]);&lt;br /&gt; }&lt;br /&gt; }&lt;br /&gt; for(i=0;i&amp;lt;n-1;i++)&lt;br /&gt; {&lt;br /&gt; for(j=0;j&amp;lt;n-i-1;j++)&lt;br /&gt; printf(&quot;\t%f&quot;,table[i][j]);&lt;br /&gt; printf(&quot;\n&quot;);&lt;br /&gt; }&lt;br /&gt; getch();&lt;br /&gt; }&lt;/div&gt;
&lt;div class=&quot;text_exposed_show&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;&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;&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; !!! HOPE U LIKE IT !!! &lt;/div&gt;
&lt;div class=&quot;text_exposed_show&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; !!!&amp;nbsp; THANKS FOR READING !!!&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; !!!!!HAPPY PROGRAMMING !!!!!&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://salokr.blogspot.com/feeds/8224294642205364808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://salokr.blogspot.com/2012/08/newtons-forward-differnece-table.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/8224294642205364808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/8224294642205364808'/><link rel='alternate' type='text/html' href='http://salokr.blogspot.com/2012/08/newtons-forward-differnece-table.html' title='NEWTON&#39;S FORWARD DIFFERNECE TABLE'/><author><name>Saurabh</name><uri>http://www.blogger.com/profile/12744515394966062206</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-5887008643055529209.post-7384549700170297517</id><published>2012-08-10T03:38:00.000-07:00</published><updated>2013-01-12T04:36:07.477-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ADDITION"/><category scheme="http://www.blogger.com/atom/ns#" term="LINKED LIST"/><category scheme="http://www.blogger.com/atom/ns#" term="LINKED LIST ADDITION"/><category scheme="http://www.blogger.com/atom/ns#" term="REVERSING LINKED LIST"/><category scheme="http://www.blogger.com/atom/ns#" term="salokr"/><category scheme="http://www.blogger.com/atom/ns#" term="saurabh"/><category scheme="http://www.blogger.com/atom/ns#" term="saurabh&#39;s blog"/><category scheme="http://www.blogger.com/atom/ns#" term="SINGLY LINKED LIST"/><title type='text'>LINKED LIST ADDITION OF TWO NUMBERS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
THIS IS THE SIMPLEST LINKED LIST ADDITION PROGRAM &lt;br /&gt;
&lt;br /&gt;
_____________________________________________________________________________________&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;
#include&amp;lt;stdlib.h&amp;gt;&lt;br /&gt;
typedef struct ll&lt;br /&gt;
{&lt;br /&gt;
int digit;&lt;br /&gt;
struct ll *next;&lt;br /&gt;
}number;&lt;br /&gt;
void add(number **hd,int i);&lt;br /&gt;
void traverse(number *hd);&lt;br /&gt;
void reverse(number **hd);&lt;br /&gt;
void adds(char a[],number **hd);&lt;br /&gt;
void addhead(number *hd1,number *hd);&lt;br /&gt;
void freeh(number **hd);&lt;br /&gt;
number *head3;&lt;br /&gt;
void main()&lt;br /&gt;
{&lt;br /&gt;
number *head1=NULL,*head2=NULL;&lt;br /&gt;
char a[500],b[500],c[500];&lt;br /&gt;
char i;&lt;br /&gt;
clrscr();&lt;br /&gt;
printf(&quot;\nEnter First Number \n&quot;);&lt;br /&gt;
gets(a);&lt;br /&gt;
printf(&quot;\nEnter Second Number \n&quot;);&lt;br /&gt;
gets(b);&lt;br /&gt;
adds(a,&amp;amp;head1);&lt;br /&gt;
adds(b,&amp;amp;head2);&lt;br /&gt;
addhead(head1,head2);&lt;br /&gt;
printf(&quot;\nAnswer Is \n&quot;);&lt;br /&gt;
traverse(head3);&lt;br /&gt;
freeh(&amp;amp;head1);&lt;br /&gt;
freeh(&amp;amp;head2);&lt;br /&gt;
*////////////////////////////////////&lt;br /&gt;
getch();&lt;br /&gt;
}&lt;br /&gt;
///////////////////////////////////////////////////&lt;br /&gt;
void freeh(number **hd)&lt;br /&gt;
{&lt;br /&gt;
number *temp;&lt;br /&gt;
while(*hd!=NULL)&lt;br /&gt;
{&lt;br /&gt;
temp=*hd;&lt;br /&gt;
*hd=(*hd)-&amp;gt;next;&lt;br /&gt;
free(temp);&lt;br /&gt;
}&lt;br /&gt;
*hd=NULL;&lt;br /&gt;
}&lt;br /&gt;
void add(number **hd,int i)&lt;br /&gt;
{&lt;br /&gt;
number *t;&lt;br /&gt;
t=(number*)malloc(sizeof(number));&lt;br /&gt;
t-&amp;gt;next=NULL;&lt;br /&gt;
t-&amp;gt;digit=i;&lt;br /&gt;
if(*hd==NULL)&lt;br /&gt;
{&lt;br /&gt;
*hd=t;&lt;br /&gt;
return;&lt;br /&gt;
}&lt;br /&gt;
t-&amp;gt;next=*hd;&lt;br /&gt;
*hd=t;&lt;br /&gt;
}&lt;br /&gt;
///////////////////////////////////////////////////&lt;br /&gt;
void traverse(number *hd)&lt;br /&gt;
{&lt;br /&gt;
printf(&quot;\n&quot;);&lt;br /&gt;
while(hd!=NULL)&lt;br /&gt;
{&lt;br /&gt;
printf(&quot;%d&quot;,hd-&amp;gt;digit);&lt;br /&gt;
hd=hd-&amp;gt;next;&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
//////////////////////////////////////////////////&lt;br /&gt;
void reverse(number **hd)&lt;br /&gt;
{&lt;br /&gt;
number *p,*q,*r;&lt;br /&gt;
if(*hd==NULL)&lt;br /&gt;
return;&lt;br /&gt;
p=*hd;&lt;br /&gt;
if(p-&amp;gt;next==NULL)&lt;br /&gt;
return;&lt;br /&gt;
q=p-&amp;gt;next;&lt;br /&gt;
if(q-&amp;gt;next==NULL)&lt;br /&gt;
{&lt;br /&gt;
q-&amp;gt;next=p;&lt;br /&gt;
p-&amp;gt;next=NULL;&lt;br /&gt;
*hd=q;&lt;br /&gt;
return;&lt;br /&gt;
}&lt;br /&gt;
r=q-&amp;gt;next;&lt;br /&gt;
while(r-&amp;gt;next!=NULL)&lt;br /&gt;
{&lt;br /&gt;
q-&amp;gt;next=p;&lt;br /&gt;
p=q;&lt;br /&gt;
q=r;&lt;br /&gt;
r=r-&amp;gt;next;&lt;br /&gt;
}&lt;br /&gt;
q-&amp;gt;next=p;&lt;br /&gt;
r-&amp;gt;next=q;&lt;br /&gt;
(*hd)-&amp;gt;next=NULL;&lt;br /&gt;
*hd=r;&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/AVvXsEjitA8v-oq867bWKyyLujLGy8sF12XRZ6ml-i5gXZ-GogQF9B2FU2VtVVhyphenhyphenzDnaHuLjwpaEfCYzbZBvoArBzjeZScbpSz__IfDg99FMcv4lqRq0-Q9pXujPsrf60W_8YkDuUqaRttVkHaU/s1600/add.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&amp;nbsp;&lt;/div&gt;
}&lt;br /&gt;
void addhead(number *hd1,number *hd2)&lt;br /&gt;
{&lt;br /&gt;
int x,carry=0,sum=0;&lt;br /&gt;
reverse(&amp;amp;hd1);&lt;br /&gt;
reverse(&amp;amp;hd2);&lt;br /&gt;
while(hd1!=NULL&amp;amp;&amp;amp;hd2!=NULL)&lt;br /&gt;
{&lt;br /&gt;
x=(hd1)-&amp;gt;digit+(hd2)-&amp;gt;digit + carry;&lt;br /&gt;
sum=x % 10;&lt;br /&gt;
carry=x / 10;&lt;br /&gt;
add(&amp;amp;head3,sum);&lt;br /&gt;
hd1=(hd1)-&amp;gt;next;&lt;br /&gt;
hd2=(hd2)-&amp;gt;next;&lt;br /&gt;
}&lt;br /&gt;
if(hd1==NULL&amp;amp;&amp;amp;hd2!=NULL)&lt;br /&gt;
{&lt;br /&gt;
while(hd2!=NULL)&lt;br /&gt;
{&lt;br /&gt;
x=(hd2)-&amp;gt;digit + carry;&lt;br /&gt;
sum=x % 10;&lt;br /&gt;
carry=x / 10;&lt;br /&gt;
add(&amp;amp;head3,sum);&lt;br /&gt;
hd2=(hd2)-&amp;gt;next;&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
else if(hd1!=NULL&amp;amp;&amp;amp;hd2==NULL)&lt;br /&gt;
{&lt;br /&gt;
while(hd1!=NULL)&lt;br /&gt;
{&lt;br /&gt;
x=(hd1)-&amp;gt;digit + carry;&lt;br /&gt;
sum=x % 10;&lt;br /&gt;
carry=x / 10;&lt;br /&gt;
add(&amp;amp;head3,sum);&lt;br /&gt;
hd1=(hd1)-&amp;gt;next;&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
if(carry&amp;gt;0)&lt;br /&gt;
add(&amp;amp;head3,carry);&lt;br /&gt;
reverse(&amp;amp;hd1);&lt;br /&gt;
reverse(&amp;amp;hd2);&lt;br /&gt;
//reverse(hd3);&lt;br /&gt;
}&lt;br /&gt;
void adds(char a[],number **hd)&lt;br /&gt;
{&lt;br /&gt;
int i=0;&lt;br /&gt;
while(a[i]!= &#39;\0&#39;)&lt;br /&gt;
{&lt;br /&gt;
add(hd,a[i]- &#39;0&#39;);&lt;br /&gt;
i++;&lt;br /&gt;
}&lt;br /&gt;
reverse(hd);&lt;br /&gt;
}&lt;br /&gt;
_____________________________________________________________________________________&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjitA8v-oq867bWKyyLujLGy8sF12XRZ6ml-i5gXZ-GogQF9B2FU2VtVVhyphenhyphenzDnaHuLjwpaEfCYzbZBvoArBzjeZScbpSz__IfDg99FMcv4lqRq0-Q9pXujPsrf60W_8YkDuUqaRttVkHaU/s1600/add.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;212&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjitA8v-oq867bWKyyLujLGy8sF12XRZ6ml-i5gXZ-GogQF9B2FU2VtVVhyphenhyphenzDnaHuLjwpaEfCYzbZBvoArBzjeZScbpSz__IfDg99FMcv4lqRq0-Q9pXujPsrf60W_8YkDuUqaRttVkHaU/s320/add.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
_____________________________________________________________________________________&lt;br /&gt;
&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;&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; !!!&amp;nbsp; THANKS FOR READING !!!&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; !!!!!HAPPY PROGRAMMING !!!!!&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://salokr.blogspot.com/feeds/7384549700170297517/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://salokr.blogspot.com/2012/08/linked-list-addition-of-two-numbers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/7384549700170297517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5887008643055529209/posts/default/7384549700170297517'/><link rel='alternate' type='text/html' href='http://salokr.blogspot.com/2012/08/linked-list-addition-of-two-numbers.html' title='LINKED LIST ADDITION OF TWO NUMBERS'/><author><name>Saurabh</name><uri>http://www.blogger.com/profile/12744515394966062206</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/AVvXsEjitA8v-oq867bWKyyLujLGy8sF12XRZ6ml-i5gXZ-GogQF9B2FU2VtVVhyphenhyphenzDnaHuLjwpaEfCYzbZBvoArBzjeZScbpSz__IfDg99FMcv4lqRq0-Q9pXujPsrf60W_8YkDuUqaRttVkHaU/s72-c/add.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>