<?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-4821557221653042355</id><updated>2026-10-13T15:49:09.468-07:00</updated><category term="Badminton"/><category term="Interview"/><category term="UK Trip March 2011"/><category term="Web"/><category term="Movie Review"/><category term="Purpose"/><category term="Business Plans"/><category term="Experiments"/><category term="Information"/><category term="Travel"/><category term="Question Bank"/><category term="한국어"/><title type='text'>THOUGHTS...</title><subtitle type='html'>pen down the thoughts..</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://thoughtaboutthis.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://thoughtaboutthis.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Destination - spot!</name><uri>http://www.blogger.com/profile/09725692900949934102</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>47</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4821557221653042355.post-6006201266205477870</id><published>2025-11-04T07:52:00.000-08:00</published><updated>2025-11-04T07:52:38.518-08:00</updated><title type='text'>내가 되고 싶었는 것</title><content type='html'>&lt;p&gt;&amp;nbsp;소수에 사람들만이 그들의 계획하는 대로 됩니다&lt;/p&gt;&lt;p&gt;그들 대부분은 하나님의 (신의) 계획을 따릅니다&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://thoughtaboutthis.blogspot.com/feeds/6006201266205477870/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4821557221653042355/6006201266205477870' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/6006201266205477870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/6006201266205477870'/><link rel='alternate' type='text/html' href='http://thoughtaboutthis.blogspot.com/2025/11/blog-post_4.html' title='내가 되고 싶었는 것'/><author><name>Destination - spot!</name><uri>http://www.blogger.com/profile/09725692900949934102</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-4821557221653042355.post-2081127975504566915</id><published>2025-11-04T07:36:00.000-08:00</published><updated>2025-11-04T07:43:46.818-08:00</updated><title type='text'>딸과 아들 성격의 비교합니다</title><content type='html'>&lt;p&gt;&amp;nbsp;비록 제 딸과 아들은 우리에게 &lt;b&gt;태어났지만&lt;/b&gt;, 둘 다 원전 히 다른 성격을 가지고 있다는, &lt;b&gt;사실이 &lt;/b&gt;매우 &lt;b&gt;놀랍습니다&lt;/b&gt;.&lt;/p&gt;&lt;p&gt;1. &lt;b&gt;색상&lt;/b&gt;부터 시작해서 딸은 &lt;b&gt;분홍색&lt;/b&gt; 줗아하지만 아들은 &lt;b&gt;주황색&lt;/b&gt; 좋아합니다&lt;/p&gt;&lt;p&gt;2. 아들은 &lt;b&gt;생야채와&lt;/b&gt; 과일 매우 좋아마지만 딸은 좋아하지 않습니다. 딸은 특히 바나나를 싫어합니다&lt;/p&gt;&lt;p&gt;3. 제 딸은 매우 &lt;b&gt;체계적이고 &lt;/b&gt;아들은 전혀 체계적이지 않습니다&lt;/p&gt;&lt;p&gt;하지만 한 가지 &lt;b&gt;공통점은 &lt;/b&gt;둘 다 매우 &lt;b&gt;사랑스럽고 배려심이 &lt;/b&gt;많다는 것입니다&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://thoughtaboutthis.blogspot.com/feeds/2081127975504566915/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4821557221653042355/2081127975504566915' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/2081127975504566915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/2081127975504566915'/><link rel='alternate' type='text/html' href='http://thoughtaboutthis.blogspot.com/2025/11/blog-post.html' title='딸과 아들 성격의 비교합니다'/><author><name>Destination - spot!</name><uri>http://www.blogger.com/profile/09725692900949934102</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-4821557221653042355.post-2802928579472411357</id><published>2025-10-18T10:24:00.000-07:00</published><updated>2025-10-18T10:24:40.580-07:00</updated><title type='text'> 제 첫 하외여행 경험을 나누고 싶습니다!</title><content type='html'>&lt;p&gt;&amp;nbsp; 슬하외여행 경험을 나누고 싶습니다!&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2004년 7월 미국 미시간주로 갔습니다. 3개월간 줄장 이었습니다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;그 당시 해외여항은 매우 좋운 일로 여겨졌기 때문에 미국우로 가게 되어 저는 정말 설렜습니다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;오늘도 기억 있는 것을은 다음과 같습니다:&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1, 기리 매우 께끗하고 모두가 겨통 규직은 잘 지켰습니다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. 퇴근 후 여유가 많아서 자주 운동했습니다&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. 주말에 보통 여행 갔습니다&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4. 그런데 결호후 3개월문 제가 해외줄장에 떠나서 제가 많이 슬펐습니다&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;그레서 6개월후 다시 해외주장에 아내와 같이 갔습니다. 저기에서 우리는 3년 동안 즐거운 시간 보냈습니다.&lt;/p&gt;&lt;p&gt;여기 까지 제 첫 해외 여행 경험 소개 끝났습니다.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://thoughtaboutthis.blogspot.com/feeds/2802928579472411357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4821557221653042355/2802928579472411357' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/2802928579472411357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/2802928579472411357'/><link rel='alternate' type='text/html' href='http://thoughtaboutthis.blogspot.com/2025/10/blog-post.html' title=' 제 첫 하외여행 경험을 나누고 싶습니다!'/><author><name>Destination - spot!</name><uri>http://www.blogger.com/profile/09725692900949934102</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-4821557221653042355.post-4549774683981983768</id><published>2018-02-03T22:21:00.001-08:00</published><updated>2018-02-03T22:26:53.375-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="한국어"/><title type='text'>인도 사람은 한국어 배워요!</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Tenses&lt;br /&gt;
=====&lt;br /&gt;
&lt;br /&gt;
가다 - to go&lt;br /&gt;
&lt;br /&gt;
집에&amp;nbsp;가요! -&amp;nbsp; I go to home&lt;br /&gt;
어제 집에 갔어요! - I went to home&lt;br /&gt;
집에 가고 싶어요! - I want to go to home&lt;br /&gt;
집에 갈야해요! -&amp;nbsp; I must to go to home&lt;br /&gt;
집에 가려고 해요 - I plan to go to home&lt;br /&gt;
집에 갈까요? - shall we go to the home?&lt;br /&gt;
집에 갈 거예요&amp;nbsp;- are you going home?&lt;br /&gt;
집에 갑시다 - lets go home!&lt;br /&gt;
집에 갈게요 - I am going home&lt;br /&gt;
&lt;br /&gt;
======&lt;br /&gt;
&lt;br /&gt;
집에 가면서 차를 마십시요?&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thoughtaboutthis.blogspot.com/feeds/4549774683981983768/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4821557221653042355/4549774683981983768' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/4549774683981983768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/4549774683981983768'/><link rel='alternate' type='text/html' href='http://thoughtaboutthis.blogspot.com/2018/02/blog-post.html' title='인도 사람은 한국어 배워요!'/><author><name>Destination - spot!</name><uri>http://www.blogger.com/profile/09725692900949934102</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-4821557221653042355.post-8979409119250781929</id><published>2012-09-13T13:04:00.002-07:00</published><updated>2012-09-23T08:48:49.608-07:00</updated><title type='text'>Sources to post web links</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;a href=&quot;http://wiki.answers.com/&quot;&gt;http://wiki.answers.com&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://answers.yahoo.com/&quot;&gt;http://answers.yahoo.com/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Directory Listing&lt;br /&gt;
&lt;a href=&quot;http://www.dmoz.org/&quot;&gt;http://www.dmoz.org/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Information about directories&lt;br /&gt;
&amp;gt;&lt;br /&gt;
&lt;a href=&quot;http://www.greatdirectories.org/&quot;&gt;http://www.greatdirectories.org/&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://thoughtaboutthis.blogspot.com/feeds/8979409119250781929/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4821557221653042355/8979409119250781929' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/8979409119250781929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/8979409119250781929'/><link rel='alternate' type='text/html' href='http://thoughtaboutthis.blogspot.com/2012/09/sources-to-post-web-links.html' title='Sources to post web links'/><author><name>Destination - spot!</name><uri>http://www.blogger.com/profile/09725692900949934102</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-4821557221653042355.post-5059642392699539306</id><published>2011-04-25T13:34:00.000-07:00</published><updated>2011-04-25T13:34:04.804-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="UK Trip March 2011"/><title type='text'>End of Wk 5</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;This week was hectic like hell - but closed few tasks this week and was ready for the London trip for the weekend.&lt;br /&gt;
&lt;br /&gt;
Played badminton on tuesday - was fun. Also played badminton on wednesday - I was too tired.&lt;br /&gt;
&lt;br /&gt;
Thrusday went in anticipation of long weekend.&lt;br /&gt;
&lt;br /&gt;
Friday, till afternoon had not planned for the London trip but some how it came good by 4pm.&lt;br /&gt;
&lt;br /&gt;
The trip was good, liked the Launchpad section of the Science Museum.&lt;br /&gt;
&lt;br /&gt;
Now, closing for the day on Monday - still got few tasks left to finish from the work.. eeeeeeeeeeeekk...&lt;br /&gt;
&lt;br /&gt;
But ya..13-5 = 8 more week...to be back in Hyd!!!&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thoughtaboutthis.blogspot.com/feeds/5059642392699539306/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4821557221653042355/5059642392699539306' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/5059642392699539306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/5059642392699539306'/><link rel='alternate' type='text/html' href='http://thoughtaboutthis.blogspot.com/2011/04/end-of-wk-5.html' title='End of Wk 5'/><author><name>Destination - spot!</name><uri>http://www.blogger.com/profile/09725692900949934102</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-4821557221653042355.post-8665933168069697432</id><published>2011-04-25T13:26:00.000-07:00</published><updated>2011-04-25T13:26:49.346-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="UK Trip March 2011"/><title type='text'>Tomato ki Dal &amp; Bhendi ki Sabji - 25Apr2011!</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Wow! It was turned out to be very good dinner!&lt;br /&gt;
&lt;br /&gt;
Ate a lot because the dal &amp;amp; rice was so tasty! + I had made near perfect bhendi ki sabji.&lt;br /&gt;
So, I think now I know how to make bhendi - previous two attempts were not that good. But this turned out ot be the one I like.&lt;br /&gt;
Also, Dal.. I make it very rarely - I am thinking of increasing the frequency of cooking dal.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thoughtaboutthis.blogspot.com/feeds/8665933168069697432/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4821557221653042355/8665933168069697432' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/8665933168069697432'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/8665933168069697432'/><link rel='alternate' type='text/html' href='http://thoughtaboutthis.blogspot.com/2011/04/tomato-ki-dal-bhendi-ki-sabji-25apr2011.html' title='Tomato ki Dal &amp; Bhendi ki Sabji - 25Apr2011!'/><author><name>Destination - spot!</name><uri>http://www.blogger.com/profile/09725692900949934102</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-4821557221653042355.post-2457766266187175954</id><published>2011-04-17T13:25:00.000-07:00</published><updated>2011-04-17T13:25:59.844-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="UK Trip March 2011"/><title type='text'>Sunday - Delight! - Egg Curry</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;17Apr2011:&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Lunch was a near disaster - tried to make Bhendi..it didnot turn out that good. I think the bhendi was not that fresh. Lessons learnt - get fresh bhendi.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Had the Alu tikka curry from Friday - but that was really a disater - why did I put carrot in that!!!&lt;br /&gt;
&amp;nbsp;&amp;nbsp; This one would have been if I would have made Paneer tikka. This sheerwoods brand is ok ok - but some how it is not exciting me.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Regardless.. all is well that ends well. .had an excellent Egg Curry for dinner.. super tast..&amp;nbsp;3 rotis and tummy full rice - wonderful...like it!!!&lt;br /&gt;
&amp;nbsp; Recipe for me to remember: &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; 1 big onion finely chopped, &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; 3 medum sized tamatar finely chopped,&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; 3 chilli small size.&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;2 table spoon of coriander&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;1/2 table spoon of &amp;nbsp;turmaric&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;1 table spoon of Oil&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;3 pinches of Jeera&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;5 eggs - boilled / then fried in oil.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Thats it!!!&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thoughtaboutthis.blogspot.com/feeds/2457766266187175954/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4821557221653042355/2457766266187175954' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/2457766266187175954'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/2457766266187175954'/><link rel='alternate' type='text/html' href='http://thoughtaboutthis.blogspot.com/2011/04/sunday-delight-egg-curry.html' title='Sunday - Delight! - Egg Curry'/><author><name>Destination - spot!</name><uri>http://www.blogger.com/profile/09725692900949934102</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-4821557221653042355.post-22839569220726276</id><published>2011-04-17T11:07:00.000-07:00</published><updated>2011-04-17T11:07:10.767-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="UK Trip March 2011"/><title type='text'>Week 4 end</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Its Sunday April 17th and end of week 4 of the UK trip.&lt;br /&gt;
This week was quite busy with work pouring from all the EPS department. In the end enjoyed the learning that came with it. I am more determined not to be that busy in the coming weeks but it would be a tough challenge.&lt;br /&gt;
&lt;br /&gt;
Played Badminton on Tuesday in Leasure Center - did played one singles - lost to Brian Lom - 21-19. But rest of the games were good.&lt;br /&gt;
&lt;br /&gt;
Played Football in the Arena with TRW collegues - I am always afraid to pay football simply because I am not that good at it. Still I manged to sneak in a goal......! &lt;br /&gt;
&lt;br /&gt;
Food wise it was horrible! - Could not eat properly on Thrusday and Friday&amp;nbsp;- too much work !!!&lt;br /&gt;
&lt;br /&gt;
Movies watched:&lt;br /&gt;
&amp;nbsp; Kick Ass - not so good.&lt;br /&gt;
&amp;nbsp; Expendables - good one.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thoughtaboutthis.blogspot.com/feeds/22839569220726276/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4821557221653042355/22839569220726276' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/22839569220726276'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/22839569220726276'/><link rel='alternate' type='text/html' href='http://thoughtaboutthis.blogspot.com/2011/04/week-4-end.html' title='Week 4 end'/><author><name>Destination - spot!</name><uri>http://www.blogger.com/profile/09725692900949934102</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-4821557221653042355.post-5937962139877654111</id><published>2010-08-15T13:36:00.000-07:00</published><updated>2010-08-15T13:36:52.021-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Badminton"/><title type='text'>Badminton Training / Coaching</title><content type='html'>I have been playing badminton for quite a while now - almost&amp;nbsp; years now. But not professionally - just some games with the friends. However, Satish, Sanket and I started with badminton training on 5th of Aug 2010.&lt;br /&gt;
&lt;br /&gt;
We plan to get coaching on 2 days Thursdays and Tuesdays of the week.&lt;br /&gt;
Coach Gowerdhan. &lt;br /&gt;
&lt;br /&gt;
Day 1: 5th Aug 2010 Thrusday.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; We did 1 drill for 1/2 hr all three of us - alternately.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; Drill: Coach threw the shuttle to&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1: Front right corner&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2: Back right&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3: Front left&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; 4: Back left&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; Each player was given some 20-25 shuttle hits/misses&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Day 2: 9th Aug 2010 Monday&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Coach had a mood for training so we went for it.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; We did 2 drills - many joined looking at us.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Drill: 1&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hit the shuttle from close to the net - just tap it down&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Stand before the serve line and hit the shuttles. From left to right and then to left.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Drill: 2&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hit a parallel shuttle from mid left&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hit a shot/smash from back left corner&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hit a parallel from mid right&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hit a shot/smash from back right&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Focus was to improve doubles game. Were intention was to keep the shuttle low to the net and not allow the opponent to get a chance to hit smash.&lt;br /&gt;
&lt;br /&gt;
Day 3: 12th Aug 2010 Thrusday&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Coach was in some meeting so we started doing some practice ourselves.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; We were trying to move to the net using shuffle step.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Looking at us practice P Manoj Kumar - first international player from AP offered to give us some hints.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; He currently has some knee injury. + we didnot know who he was or what his caliber was.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; But we thought we are new to the game and started taking advice.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; By the end of it I was wondering about the amazing skills of this guy.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; He was performing all the tricks I saw on the youtube videos, and that too with perfection.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; It was a nice session.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; He provided following coaching:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; 1: Front shuffle steps&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; 2: advised us to do tossing from back corner to back corner at the start that will give stability and power.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; 3: Highlighted the importance of keeping the shuttle behind the player all the time.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; 4: Showed us how to hit a backhand shot easily. Idea is to use your thumb to get the power. Shuttle also needs to be hit at correct timing. How to improve: do lot of wall practice. &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5: Entire gamut of trick shots..</content><link rel='replies' type='application/atom+xml' href='http://thoughtaboutthis.blogspot.com/feeds/5937962139877654111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4821557221653042355/5937962139877654111' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/5937962139877654111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/5937962139877654111'/><link rel='alternate' type='text/html' href='http://thoughtaboutthis.blogspot.com/2010/08/badminton-training-coaching.html' title='Badminton Training / Coaching'/><author><name>Destination - spot!</name><uri>http://www.blogger.com/profile/09725692900949934102</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-4821557221653042355.post-1935346305344042525</id><published>2010-06-30T08:12:00.000-07:00</published><updated>2010-06-30T08:12:10.111-07:00</updated><title type='text'>Apple Blossom - An American Style Play School and Day Care in Hyderabad</title><content type='html'>&lt;a href=&quot;http://www.myappleblossom.com%20/&quot;&gt;Apple Blossom:&lt;/a&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; A unique type of play school where emphasis is given on developing the creative mind of the child. &lt;a href=&quot;http://www.myappleblossom.com%20/&quot;&gt;Apple blossom&lt;/a&gt;, started its operations on 25th of June 2010 in Ashok Nagar Hyderabad.&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; This school has excellent facilities like, splash pool, ball pool, sandpit, audio &amp;amp; video learning aid, lots of books, toys, slides etc. This is one place you kid would want to be! And you would be satisfied that your kid is getting best kind of care and education.&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; The teachers here are quite experienced and also have international exposure and the way of teaching is a blend of American style and Indian values.&lt;br /&gt;
&lt;br /&gt;
Contact 09963528107 or 040 64636370 to know more details.&lt;br /&gt;
or Visit :&lt;a href=&quot;http://www.myappleblossom.com%20/&quot;&gt; www.myappleblossom.com&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://thoughtaboutthis.blogspot.com/feeds/1935346305344042525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4821557221653042355/1935346305344042525' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/1935346305344042525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/1935346305344042525'/><link rel='alternate' type='text/html' href='http://thoughtaboutthis.blogspot.com/2010/06/apple-blossom-american-style-play.html' title='Apple Blossom - An American Style Play School and Day Care in Hyderabad'/><author><name>Destination - spot!</name><uri>http://www.blogger.com/profile/09725692900949934102</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-4821557221653042355.post-5876899731991849149</id><published>2010-01-13T13:47:00.001-08:00</published><updated>2010-01-13T13:47:44.720-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Badminton"/><title type='text'>Best Badminton Video Links</title><content type='html'>Must Watch Video!&lt;br /&gt;
http://www.youtube.com/watch?v=5BtswKC02ng&amp;amp;feature=fvw&lt;br /&gt;
&lt;br /&gt;
excellent shots of Lin dan vs Peter gade</content><link rel='replies' type='application/atom+xml' href='http://thoughtaboutthis.blogspot.com/feeds/5876899731991849149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4821557221653042355/5876899731991849149' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/5876899731991849149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/5876899731991849149'/><link rel='alternate' type='text/html' href='http://thoughtaboutthis.blogspot.com/2010/01/best-badminton-video-links.html' title='Best Badminton Video Links'/><author><name>Destination - spot!</name><uri>http://www.blogger.com/profile/09725692900949934102</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-4821557221653042355.post-1046651598393161321</id><published>2010-01-13T12:07:00.000-08:00</published><updated>2010-01-13T13:17:28.054-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Badminton"/><title type='text'>Badminton Shots - all types listed</title><content type='html'>&lt;div style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
This is an attempt to consolidate all the technical shots available in the badminton.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Forehand Drop: &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Forehand Drop Deceptive: &lt;/b&gt;&lt;br /&gt;
Here the idea is to drop the shuttle close to the net from the baseline. Since the line of attack is different to the place where the shuttle lands it becomes deceptive and steals a fraction of a second from your opponent and also makes the opponent wrong footed.&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/AVvXsEgiL48W5u5nFgGDibhejRtpaU3wq4PXOkwJZ9U5GQ1A_97mFGTVIzQDpz-wAnEceLyvQ0UhyphenhyphenRQkr1XmiHhy1InyN_jrcaklz1Y5R1ZpEJmBoXZ19x6x3PD_UEP1U6Z0XO83-9ldq9SGNVvH/s1600-h/ForehandDeceptiveDrop.bmp&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiL48W5u5nFgGDibhejRtpaU3wq4PXOkwJZ9U5GQ1A_97mFGTVIzQDpz-wAnEceLyvQ0UhyphenhyphenRQkr1XmiHhy1InyN_jrcaklz1Y5R1ZpEJmBoXZ19x6x3PD_UEP1U6Z0XO83-9ldq9SGNVvH/s320/ForehandDeceptiveDrop.bmp&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
video training available at following link &lt;br /&gt;
&lt;a href=&quot;http://www.youtube.com/watch?v=YrVzEFvhPno&amp;amp;feature=related&quot;&gt; Deceptive forehand video link&amp;nbsp;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Forehand Deceptive Shot 2&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
http://www.youtube.com/watch?v=z807arNCPHs&amp;amp;feature=PlayList&amp;amp;p=8001BDB2716B00B0&amp;amp;playnext=1&amp;amp;playnext_from=PL&amp;amp;index=31</content><link rel='replies' type='application/atom+xml' href='http://thoughtaboutthis.blogspot.com/feeds/1046651598393161321/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4821557221653042355/1046651598393161321' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/1046651598393161321'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/1046651598393161321'/><link rel='alternate' type='text/html' href='http://thoughtaboutthis.blogspot.com/2010/01/badminton-shorts-all-types-listed.html' title='Badminton Shots - all types listed'/><author><name>Destination - spot!</name><uri>http://www.blogger.com/profile/09725692900949934102</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/AVvXsEgiL48W5u5nFgGDibhejRtpaU3wq4PXOkwJZ9U5GQ1A_97mFGTVIzQDpz-wAnEceLyvQ0UhyphenhyphenRQkr1XmiHhy1InyN_jrcaklz1Y5R1ZpEJmBoXZ19x6x3PD_UEP1U6Z0XO83-9ldq9SGNVvH/s72-c/ForehandDeceptiveDrop.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4821557221653042355.post-5541851644868380508</id><published>2010-01-06T09:54:00.000-08:00</published><updated>2010-01-06T09:54:39.939-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Experiments"/><title type='text'>Force while moving</title><content type='html'>A thought occurred to me that there must be some force acting on moving bodies.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 1) How can one easily balance a two wheeler when moving, while it&amp;nbsp; is difficult to balance while it is not moving?&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 2)&amp;nbsp; If we generate enough velocity we can fly...where are a steady object cannot float in air.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; People talk of Bernoulli principle for flights. However, how can one think that air wants to or needs to travel faster to reach other end?&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp; Now, we know that there is a centrifugal force corresponding to angular velocity. However, how can we not imagine that there is a similar force for straight line motion?&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; However this is just a thought....need to work more on this</content><link rel='replies' type='application/atom+xml' href='http://thoughtaboutthis.blogspot.com/feeds/5541851644868380508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4821557221653042355/5541851644868380508' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/5541851644868380508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/5541851644868380508'/><link rel='alternate' type='text/html' href='http://thoughtaboutthis.blogspot.com/2010/01/force-while-moving.html' title='Force while moving'/><author><name>Destination - spot!</name><uri>http://www.blogger.com/profile/09725692900949934102</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-4821557221653042355.post-3046629730683410543</id><published>2009-12-26T10:53:00.000-08:00</published><updated>2009-12-26T11:15:54.048-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Movie Review"/><title type='text'>Movie Review - 3 idiots - Became a Amir Fan after the movie</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVPStZGJCGn-rIy_FzbSOmAdYOrC4TTs45HfxykQ3B7F6RBi9Z2YF_EyXmJ9mNKsdwfEZF_qeygqx5pophyfcUgpGsEc8NF8Wl5YUaVfzaJRy8op9nOEuBK7t0DgC6i1rkGL1xaP0e_tHE/s1600-h/thumb-wall_800x600_3.jpg&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 120px; height: 90px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVPStZGJCGn-rIy_FzbSOmAdYOrC4TTs45HfxykQ3B7F6RBi9Z2YF_EyXmJ9mNKsdwfEZF_qeygqx5pophyfcUgpGsEc8NF8Wl5YUaVfzaJRy8op9nOEuBK7t0DgC6i1rkGL1xaP0e_tHE/s320/thumb-wall_800x600_3.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5419624026501519714&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;In today&#39;s world when Super Stars and Mega Stars are busy making or acting in nonsense masala films, Aamir is definitely traveling on a different track.&lt;br /&gt; If you think it is difficult to surpass &quot;taare zameen par&quot;, you must watch &quot;3 idiots&quot; you will be proved wrong. This movie has got all the flavors to make your 3 hours well spent.&lt;br /&gt;&lt;br /&gt;This movie conveys a very important and vital message to all the parents, students as well as to the teachers. However, even for a moment you will not feel bored. The movie has got loads of funny scenes, super drama, heart touching emotions and fantastic acting by all the characters.&lt;br /&gt; There are lot of moments where you will get tears in your eyes either by laughing or by well placed emotional scenes. Once scene which is worth mention is the scene when Mr. Chatur delivers welcome speech. Believe me entire theater was bursting with laughter, one I never saw before. Before the end of scene we all we crying - because of too much laughter.&lt;br /&gt; I think I will rate this movie as the best movie I have every seen. Too good.&lt;br /&gt;&lt;br /&gt;Before watching the movie I was wondering if oldies like Aamir &amp;amp; Madavan  would suite into the cast of student. However, all 3 idiots made me wish I could go back to college. Boman Irani was suberb as usual. Kareena again gave very good performance.&lt;br /&gt;&lt;br /&gt;I am still amazed how nicely the movie is made ---&lt;br /&gt;I would give a rating of- 5 stars for this movie -  fantastic</content><link rel='replies' type='application/atom+xml' href='http://thoughtaboutthis.blogspot.com/feeds/3046629730683410543/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4821557221653042355/3046629730683410543' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/3046629730683410543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/3046629730683410543'/><link rel='alternate' type='text/html' href='http://thoughtaboutthis.blogspot.com/2009/12/3-idiots-became-amir-fan-after-movie.html' title='Movie Review - 3 idiots - Became a Amir Fan after the movie'/><author><name>Destination - spot!</name><uri>http://www.blogger.com/profile/09725692900949934102</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/AVvXsEhVPStZGJCGn-rIy_FzbSOmAdYOrC4TTs45HfxykQ3B7F6RBi9Z2YF_EyXmJ9mNKsdwfEZF_qeygqx5pophyfcUgpGsEc8NF8Wl5YUaVfzaJRy8op9nOEuBK7t0DgC6i1rkGL1xaP0e_tHE/s72-c/thumb-wall_800x600_3.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4821557221653042355.post-9177211483759931310</id><published>2009-01-06T01:44:00.001-08:00</published><updated>2009-01-06T01:44:45.901-08:00</updated><title type='text'>Gyan! - Why to use local variable when dealing with pointers</title><content type='html'>It is always a good practice to transfer the contents of the resolved pointer into a local variable. This avoids repeated access to the memory. Think in terms of assembly. &lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;At a certain point there is no difference between Magic and Science.&lt;br&gt; -Bhimsen Joshi&lt;br&gt; </content><link rel='replies' type='application/atom+xml' href='http://thoughtaboutthis.blogspot.com/feeds/9177211483759931310/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4821557221653042355/9177211483759931310' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/9177211483759931310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/9177211483759931310'/><link rel='alternate' type='text/html' href='http://thoughtaboutthis.blogspot.com/2009/01/gyan-why-to-use-local-variable-when.html' title='Gyan! - Why to use local variable when dealing with pointers'/><author><name>Destination - spot!</name><uri>http://www.blogger.com/profile/09725692900949934102</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-4821557221653042355.post-2725751398076258745</id><published>2009-01-06T01:24:00.001-08:00</published><updated>2009-01-06T01:24:07.138-08:00</updated><title type='text'>Building Quadriceps for Knee Pain</title><content type='html'>&lt;a href=&quot;http://www.weight-lifting-workout-routines.com/quadriceps-exercise.html&quot;&gt;http://www.weight-lifting-workout-routines.com/quadriceps-exercise.html&lt;/a&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;At a certain point there is no difference between Magic and Science.&lt;br&gt; -Bhimsen Joshi&lt;br&gt; </content><link rel='replies' type='application/atom+xml' href='http://thoughtaboutthis.blogspot.com/feeds/2725751398076258745/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4821557221653042355/2725751398076258745' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/2725751398076258745'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/2725751398076258745'/><link rel='alternate' type='text/html' href='http://thoughtaboutthis.blogspot.com/2009/01/building-quadriceps-for-knee-pain.html' title='Building Quadriceps for Knee Pain'/><author><name>Destination - spot!</name><uri>http://www.blogger.com/profile/09725692900949934102</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-4821557221653042355.post-8637902976968751222</id><published>2008-12-25T10:54:00.000-08:00</published><updated>2009-01-04T00:28:31.909-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Badminton"/><title type='text'>Badminton Links</title><content type='html'>Here you can find the links to badminton coaching, whether it be videos, reading material or any other thing...&lt;br /&gt;&lt;br /&gt;  Badminton Footwork coaching video: &lt;br /&gt;  http://in.youtube.com/watch?v=ZdB5tlpurJI&lt;br /&gt;&lt;br /&gt;  Badminton Tricks!&lt;br /&gt;  http://in.youtube.com/watch?v=gaNfDkfLf2s&amp;feature=related&lt;br /&gt;  &lt;br /&gt; Injuries are common in any sports, Knee injuries tops among the list of injuries following are good list of sites for Knee related injuries:&lt;br /&gt;  http://www.smasa.asn.au/smartplay/ouch/bodybits/b_bitsknee.html</content><link rel='replies' type='application/atom+xml' href='http://thoughtaboutthis.blogspot.com/feeds/8637902976968751222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4821557221653042355/8637902976968751222' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/8637902976968751222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/8637902976968751222'/><link rel='alternate' type='text/html' href='http://thoughtaboutthis.blogspot.com/2008/12/badminton-links.html' title='Badminton Links'/><author><name>Destination - spot!</name><uri>http://www.blogger.com/profile/09725692900949934102</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-4821557221653042355.post-589257666959909709</id><published>2008-11-19T03:39:00.001-08:00</published><updated>2008-11-19T03:39:21.755-08:00</updated><title type='text'>Indian Navy vs The Pirates of Somalia</title><content type='html'>Propelled by the economic development India as a nation is making an effort towards global patrolling and policing. In this regard the recent achievements by Indian Navy have been commendable. &lt;br&gt;&lt;br&gt;The recent hijack of a Saudi supertanker seized by pirates with a $100 million oil cargo in the world&amp;#39;s biggest ship has gained global attention. Somalian Pirates are now regarded as very powerful and intelligent. &amp;quot;It is the act of some very bright Somalis. Anyone who describes them as a bunch of camel herders needs to think again,&amp;quot; one Somalia analyst said.&lt;br&gt;&lt;br&gt;Indian Navy has been successful in two encounters with pirates&lt;br&gt;1) earlier this month (11th Nov 08) prevented two hijacking attempts &amp;quot;Indian Navy ship INS Gomti foiled attempts by Somali pirates off the Gulf of Aden to hijack the Indian merchant ship, Jag Arnav&amp;quot;. &lt;br&gt;  2) Just after a week (19th Nov 08) there are reports of Indian Navy destroying a Somalian pirate ship after it was under attack from pirates.&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (source: &lt;a href=&quot;http://news.bbc.co.uk/2/hi/south_asia/7736885.stm&quot; target=&quot;_blank&quot;&gt;http://news.bbc.co.uk/2/hi/south_asia/7736885.stm&lt;/a&gt;)&lt;br&gt;  &lt;br&gt;  The INS Tabar, a naval warship,  has been patrolling the Gulf of Aden since 23 October, and has escorted 35 ships safely during the &amp;quot;pirate-infested waters&amp;quot;, the statement said. &lt;br&gt; &lt;br&gt;INS Tabar was deployed to escort Indian ships after the country&amp;#39;s shipping firms said they were losing $450,000 a month on cost overruns and delays in meeting deadlines.&lt;br&gt;&lt;br&gt;This is a good signal from India that it is not just growing economically, but also in terms of securing its vicinity.&amp;nbsp; &lt;br&gt;&amp;nbsp;&lt;br&gt;Details about INS Tabar (F44)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Third of the Talwar-class frigates of the Indian Navy&lt;br&gt;  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Armed with supersonic BrahMos (PJ-10) anti-ship cruise missiles&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&lt;br&gt;   </content><link rel='replies' type='application/atom+xml' href='http://thoughtaboutthis.blogspot.com/feeds/589257666959909709/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4821557221653042355/589257666959909709' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/589257666959909709'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/589257666959909709'/><link rel='alternate' type='text/html' href='http://thoughtaboutthis.blogspot.com/2008/11/indian-navy-vs-pirates-of-somalia.html' title='Indian Navy vs The Pirates of Somalia'/><author><name>Destination - spot!</name><uri>http://www.blogger.com/profile/09725692900949934102</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-4821557221653042355.post-6630779373694207685</id><published>2008-11-17T09:42:00.000-08:00</published><updated>2010-01-13T12:59:44.721-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Badminton"/><title type='text'>Badminton - Gopichand&#39;s Institute</title><content type='html'>Now is the time for badminton...&lt;br /&gt;
to begin with I am a decent badminton player and looking ways to further improve my game :)&lt;br /&gt;
&lt;br /&gt;
I usually practice in my office, where there are not many serious players around and most of them come for fun. Cannot blame them. Then I go to a place near my house, but only on weekends that too for only an hour and usually play 5-6 singles games and then back.&lt;br /&gt;
&lt;br /&gt;
However I thought that I should have some professional coaching. So, I &amp;amp; my colleague went to Gopichand institute to check if we can find someone to train us on badminton. (That is a funny thought however, what will I do learning badminton at age of 28? Anyways...) To start with, I was apprehensive to visit there, as some one might not even allow us inside. (we might look uncles!). But still we reached there and went inside.&lt;br /&gt;
&lt;br /&gt;
There were many guys practicing and practicing hard. Almost all were doing 2 - 1 drill, that is 2 guys were feeding a single guy and they changed places. In the end we found out that all were national level players. There was only one coach teaching them all. We tried to reach him however, someone asked us then why we were there. &lt;br /&gt;
&lt;br /&gt;
Upon asking about the coaching, there was a cold response and the guy gave me some coach&#39;s number and asked to check with him he said playing timings were 11 to ..? and 7pm to 10pm. Charges were Rs200 per hour. But, then we need to get our own shuttles &amp;amp; Rackets. Yes and even partners.&lt;br /&gt;
&lt;br /&gt;
I was wondering if we could meet Gopichand &amp;amp; he would be teaching there! I was dissapointed. However, I though I saw Guru Sai Dutt there, the guy who did well recently in Junior World Cup Championship in Pune 2008. So that was it. We came back.&lt;br /&gt;
&lt;br /&gt;
In the back of my mind, I am still thinking that I will not call that coach, but get tips online. So started looking for some materials.&lt;br /&gt;
&lt;br /&gt;
Some Chinese promo video - but good tips - images do good. &lt;br /&gt;
http://in.youtube.com/watch?v=EWqBVKNX1Js&amp;amp;feature=related&lt;br /&gt;
&lt;br /&gt;
Good place to learn tactics&lt;br /&gt;
http://www.badmintonbible.com&lt;br /&gt;
&lt;br /&gt;
Push Shot&lt;br /&gt;
http://in.youtube.com/watch?v=dURbk5SlY-o&amp;amp;feature=related</content><link rel='replies' type='application/atom+xml' href='http://thoughtaboutthis.blogspot.com/feeds/6630779373694207685/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4821557221653042355/6630779373694207685' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/6630779373694207685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/6630779373694207685'/><link rel='alternate' type='text/html' href='http://thoughtaboutthis.blogspot.com/2008/11/badminton-gopichands-institute.html' title='Badminton - Gopichand&#39;s Institute'/><author><name>Destination - spot!</name><uri>http://www.blogger.com/profile/09725692900949934102</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-4821557221653042355.post-5663006721870155219</id><published>2008-09-23T00:02:00.001-07:00</published><updated>2008-09-23T00:02:43.841-07:00</updated><title type='text'>Short Rap Poem</title><content type='html'>&lt;div dir=&quot;ltr&quot;&gt;Yo yo yo...&lt;br&gt;You have to come too far, to reach my par,&lt;br&gt;You have to raise your bar, to get into war,&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;.. to be completed&lt;br&gt;&lt;br&gt; &lt;/div&gt; </content><link rel='replies' type='application/atom+xml' href='http://thoughtaboutthis.blogspot.com/feeds/5663006721870155219/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4821557221653042355/5663006721870155219' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/5663006721870155219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/5663006721870155219'/><link rel='alternate' type='text/html' href='http://thoughtaboutthis.blogspot.com/2008/09/short-rap-poem.html' title='Short Rap Poem'/><author><name>Destination - spot!</name><uri>http://www.blogger.com/profile/09725692900949934102</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-4821557221653042355.post-8473565585127711241</id><published>2008-07-24T07:15:00.001-07:00</published><updated>2008-07-24T07:15:13.638-07:00</updated><title type='text'>Question #4 - C - Multiply two numbers without using arithmetic operators</title><content type='html'>&lt;div dir=&quot;ltr&quot;&gt;&lt;style&gt; v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} &lt;/style&gt;&lt;style&gt; st1\:*{behavior:url(#default#ieooui) } &lt;/style&gt;&lt;style&gt; &amp;lt;!--  /* Font Definitions */  @font-face 	{font-family:Tahoma; 	panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face 	{font-family:Garamond; 	panose-1:2 2 4 4 3 3 1 1 8 3;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{margin:0in; 	margin-bottom:.0001pt; 	font-size:12.0pt; 	font-family:&amp;quot;Times New Roman&amp;quot;;} h3 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	font-size:13.5pt; 	font-family:&amp;quot;Times New Roman&amp;quot;;} a:link, span.MsoHyperlink 	{color:blue; 	text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed 	{color:purple; 	text-decoration:underline;} span.EmailStyle17 	{mso-style-type:personal; 	font-family:Arial; 	color:windowtext;} span.EmailStyle18 	{mso-style-type:personal; 	font-family:Arial; 	color:navy;} span.EmailStyle19 	{mso-style-type:personal; 	font-family:Arial; 	color:navy;} span.EmailStyle20 	{mso-style-type:personal; 	font-family:Arial; 	color:navy;} span.EmailStyle21 	{mso-style-type:personal; 	font-family:Arial; 	color:navy;} span.EmailStyle22 	{mso-style-type:personal; 	font-family:Arial; 	color:navy;} span.EmailStyle23 	{mso-style-type:personal; 	font-family:Arial; 	color:navy;} span.EmailStyle24 	{mso-style-type:personal; 	font-family:Arial; 	color:navy;} span.EmailStyle25 	{mso-style-type:personal; 	font-family:Arial; 	color:navy;} span.EmailStyle26 	{mso-style-type:personal; 	font-family:Arial; 	color:navy;} span.EmailStyle27 	{mso-style-type:personal; 	font-family:Arial; 	color:navy;} span.EmailStyle28 	{mso-style-type:personal; 	font-family:Arial; 	color:navy;} span.EmailStyle29 	{mso-style-type:personal; 	font-family:Arial; 	color:navy;} span.EmailStyle30 	{mso-style-type:personal; 	font-family:Arial; 	color:navy;} span.EmailStyle31 	{mso-style-type:personal-reply; 	font-family:Arial; 	color:navy;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 	{page:Section1;} --&amp;gt; &lt;/style&gt;&lt;div class=&quot;Section1&quot;&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;Question #4 - C -  Multiply two numbers without using arithmetic operators  &lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;&amp;nbsp;&amp;nbsp; Note: I don&#39;t want  any arithmetic operators. It is easier now as we have uncovered  addition.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;There is one more  question I want to give, so, hurry-up and send the answers as quickly as  possible.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;&lt;/span&gt;&lt;/font&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br&gt; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;Sri&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;#include &amp;lt;stdio.h&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  int multiply(int x, int y)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int product=0;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; while  (y!=0)&lt;br&gt;&amp;nbsp;&amp;nbsp;{&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(y&amp;amp;01)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;product=product+x;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;x&amp;lt;&amp;lt;=1;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;y&amp;gt;&amp;gt;=1;&lt;br&gt;&amp;nbsp;&amp;nbsp;}&lt;br&gt;&amp;nbsp;&amp;nbsp;return  product;&lt;br&gt;&amp;nbsp;&amp;nbsp;printf(&amp;quot;The product is: %d&amp;quot;,product);&lt;br&gt;&amp;nbsp;&amp;nbsp;  }&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int main()&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  int a,b;&lt;br&gt;&amp;nbsp;&amp;nbsp;printf(&amp;quot;Enter the two numbers: \n&amp;quot;);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&amp;quot;%d&amp;quot;,&amp;amp;a);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  scanf(&amp;quot;%d&amp;quot;,&amp;amp;b);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&amp;quot;Product is: %d&amp;quot;,multiply(a,b));&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  }&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;Santosh&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;#include &amp;quot;stdafx.h&amp;quot;&lt;br&gt;#include  &amp;lt;stdio.h&amp;gt;&lt;br&gt;#include &amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;int add(int c, int d)&lt;br&gt;{&lt;br&gt;&amp;nbsp;if  (!c)&lt;br&gt;&amp;nbsp;&amp;nbsp;return d;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;br&gt;&amp;nbsp;&amp;nbsp;return add((c &amp;amp; d) &amp;lt;&amp;lt; 1, c ^  d);&lt;br&gt;}&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;void main()&lt;br&gt;{&lt;br&gt;&amp;nbsp;&amp;nbsp; int  a,b,result;&lt;br&gt;&amp;nbsp;&amp;nbsp; printf(&amp;quot;Enter the numbers to be multiplied :&amp;quot;);&lt;br&gt;&amp;nbsp;&amp;nbsp;  scanf(&amp;quot;%d%d&amp;quot;,&amp;amp;a,&amp;amp;b);&lt;br&gt;&amp;nbsp;&amp;nbsp; result=0;&lt;br&gt;&amp;nbsp;&amp;nbsp; while(b != 0)&amp;nbsp;&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;br&gt;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (b&amp;amp;01) &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; result = add(result, a);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  a&amp;lt;&amp;lt;=1;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b&amp;gt;&amp;gt;=1;&lt;br&gt;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp;  printf(&amp;quot;Result:%d&amp;quot;,result);&lt;br&gt;&amp;nbsp;&amp;nbsp; getch();&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;Rajini&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;strong&gt;&lt;b&gt;&lt;font size=&quot;3&quot; color=&quot;blue&quot; face=&quot;Garamond&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: blue; font-family: Garamond;&quot;&gt;int add(int a, int  b)&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;b&gt;&lt;font color=&quot;blue&quot; face=&quot;Garamond&quot;&gt;&lt;span style=&quot;font-weight: bold; color: blue; font-family: Garamond;&quot;&gt;&lt;br&gt;&lt;strong&gt;&lt;b&gt;&lt;font face=&quot;Garamond&quot;&gt;&lt;span style=&quot;font-family: Garamond;&quot;&gt;{&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;br&gt; &lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;font face=&quot;Garamond&quot;&gt;&lt;span style=&quot;font-family: Garamond;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!a) return b;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;  else&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return add((a &amp;amp; b) &amp;lt;&amp;lt; 1, a ^ b);&lt;br&gt;&lt;strong&gt;&lt;b&gt;&lt;font face=&quot;Garamond&quot;&gt;&lt;span style=&quot;font-family: Garamond;&quot;&gt;}&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;strong&gt;&lt;b&gt;&lt;font size=&quot;3&quot; color=&quot;blue&quot; face=&quot;Garamond&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: blue; font-family: Garamond;&quot;&gt;int fnMultiply(int  a, int b)&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;b&gt;&lt;font color=&quot;blue&quot; face=&quot;Garamond&quot;&gt;&lt;span style=&quot;font-weight: bold; color: blue; font-family: Garamond;&quot;&gt;&lt;br&gt;&lt;strong&gt;&lt;b&gt;&lt;font face=&quot;Garamond&quot;&gt;&lt;span style=&quot;font-family: Garamond;&quot;&gt;{&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;font face=&quot;Garamond&quot;&gt;&lt;span style=&quot;font-family: Garamond;&quot;&gt;&lt;br&gt; &amp;nbsp;int iR =  a;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Garamond&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: Garamond;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;font face=&quot;Garamond&quot;&gt;&lt;span style=&quot;font-family: Garamond;&quot; lang=&quot;PT-BR&quot;&gt;for(int  i=1;i&amp;lt;b;i++)&lt;br&gt;&amp;nbsp;{&lt;br&gt;&amp;nbsp;&amp;nbsp;iR = add(iR,a);&lt;br&gt;&amp;nbsp;}&lt;/span&gt;&lt;/font&gt;&lt;span lang=&quot;PT-BR&quot;&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot; lang=&quot;PT-BR&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Garamond&quot;&gt;&lt;span style=&quot;font-size: 12pt; font-family: Garamond;&quot; lang=&quot;PT-BR&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;font face=&quot;Garamond&quot;&gt;&lt;span style=&quot;font-family: Garamond;&quot;&gt;return  iR;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;strong&gt;&lt;b&gt;&lt;font size=&quot;3&quot; color=&quot;blue&quot; face=&quot;Garamond&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: blue; font-family: Garamond;&quot;&gt;}&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;Kiran&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;&amp;lt;&amp;lt;&amp;lt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;br&gt;int  add(int,int);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;void  main()&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;{&amp;nbsp; int  a,b,mul=0,i;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;&amp;nbsp;&amp;nbsp; printf(&amp;quot;enter 2 numbers to be  multiplied\n&amp;quot;);&lt;br&gt;&amp;nbsp;&amp;nbsp; scanf(&amp;quot;%d%d&amp;quot;,&amp;amp;a,&amp;amp;b);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;&amp;nbsp;&amp;nbsp;  for(i=0;i&amp;lt;16;i++)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;&amp;nbsp;&amp;nbsp; if(b&amp;amp;(1&amp;lt;&amp;lt;i))&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  mul= add(a&amp;lt;&amp;lt;i,mul);&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;br&gt;&amp;nbsp;&amp;nbsp;  printf(&amp;quot;%d\n&amp;quot;,mul);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;}&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;&lt;br&gt;int add(int b, int a)&lt;br&gt;{  &lt;br&gt;&amp;nbsp;int c=0,s=0,k,ai,bi,i;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot; lang=&quot;IT&quot;&gt;for(i=0;i&amp;lt;16;i++)  &lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot; lang=&quot;IT&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot; lang=&quot;IT&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ai =  ((a&amp;gt;&amp;gt;i)&amp;amp;1);&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; bi = ((b&amp;gt;&amp;gt;i)&amp;amp;1);&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;k  = ((((ai^bi)^c))&amp;lt;&amp;lt;i);&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; s = s|k;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c = (ai&amp;amp;c)  | (bi&amp;amp;c) | (ai&amp;amp;bi);&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot; lang=&quot;IT&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot; lang=&quot;IT&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;}&lt;br&gt;&amp;nbsp;return(s);&lt;br&gt; }&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;blockquote style=&quot;border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color black; border-width: medium medium medium 1.5pt; margin: 5pt 0in 5pt 3.75pt; padding: 0in 0in 0in 4pt;&quot;&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;Question #4 - C -  Multiply two numbers without using arithmetic operators  &lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;&amp;nbsp;&amp;nbsp; Note: I don&#39;t want  any arithmetic operators. It is easier now as we have uncovered  addition.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;There is one more  question I want to give, so, hurry-up and send the answers as quickly as  possible.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;Regards,&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;Bhimsen  Joshi&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;At a certain point there is no difference between Magic and Science.&lt;br&gt;-Bhimsen Joshi &lt;/div&gt; </content><link rel='replies' type='application/atom+xml' href='http://thoughtaboutthis.blogspot.com/feeds/8473565585127711241/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4821557221653042355/8473565585127711241' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/8473565585127711241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/8473565585127711241'/><link rel='alternate' type='text/html' href='http://thoughtaboutthis.blogspot.com/2008/07/question-4-c-multiply-two-numbers.html' title='Question #4 - C - Multiply two numbers without using arithmetic operators'/><author><name>Destination - spot!</name><uri>http://www.blogger.com/profile/09725692900949934102</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-4821557221653042355.post-5752974201769114099</id><published>2008-07-23T07:23:00.001-07:00</published><updated>2008-07-23T07:23:16.736-07:00</updated><title type='text'>Given a 7 bit variable, convert into a 8 bit variable with ODD parity</title><content type='html'>&lt;div dir=&quot;ltr&quot;&gt;&lt;style&gt; v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} &lt;/style&gt;&lt;style&gt; st1\:*{behavior:url(#default#ieooui) } &lt;/style&gt;&lt;style&gt; &amp;lt;!--  /* Font Definitions */  @font-face 	{font-family:Tahoma; 	panose-1:2 11 6 4 3 5 4 4 2 4;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{margin:0in; 	margin-bottom:.0001pt; 	font-size:12.0pt; 	font-family:&amp;quot;Times New Roman&amp;quot;;} h3 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	font-size:13.5pt; 	font-family:&amp;quot;Times New Roman&amp;quot;;} a:link, span.MsoHyperlink 	{color:blue; 	text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed 	{color:purple; 	text-decoration:underline;} span.EmailStyle17 	{mso-style-type:personal; 	font-family:Arial; 	color:windowtext;} span.EmailStyle18 	{mso-style-type:personal; 	font-family:Arial; 	color:navy;} span.EmailStyle19 	{mso-style-type:personal; 	font-family:Arial; 	color:navy;} span.EmailStyle20 	{mso-style-type:personal; 	font-family:Arial; 	color:navy;} span.EmailStyle21 	{mso-style-type:personal; 	font-family:Arial; 	color:navy;} span.EmailStyle22 	{mso-style-type:personal; 	font-family:Arial; 	color:navy;} span.EmailStyle23 	{mso-style-type:personal; 	font-family:Arial; 	color:navy;} span.EmailStyle24 	{mso-style-type:personal; 	font-family:Arial; 	color:navy;} span.EmailStyle25 	{mso-style-type:personal; 	font-family:Arial; 	color:navy;} span.EmailStyle26 	{mso-style-type:personal; 	font-family:Arial; 	color:navy;} span.EmailStyle27 	{mso-style-type:personal; 	font-family:Arial; 	color:navy;} span.EmailStyle28 	{mso-style-type:personal; 	font-family:Arial; 	color:navy;} span.EmailStyle30 	{mso-style-type:personal-reply; 	font-family:Arial; 	color:navy;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 	{page:Section1;} --&amp;gt; &lt;/style&gt;&lt;div class=&quot;Section1&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;Calculate ODD parity - excellent method&lt;br&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;Here is a simple code example for 8 bit number, you can  easily extend it to any bits you want. int &lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;Oddparity(unsigned char p) &lt;br&gt; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;{ &lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p = p  ^ (p &amp;gt; &amp;gt; 4); &lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p = p ^ (p &amp;gt; &amp;gt; 2); &lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p = p ^ (p &amp;gt; &amp;gt; 1); &lt;br&gt; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return p  &amp;amp; 1; &lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;} &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;Rajini&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;typedef char  BYTE;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;NO-BOK&quot;&gt;BYTE fnGetParity(BYTE  bByte,BYTE bXor);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;NO-BOK&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;NO-BOK&quot;&gt;void  main()&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;NO-BOK&quot;&gt;{&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;NO-BOK&quot;&gt;&amp;nbsp; BYTE  bVal;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;NO-BOK&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;NO-BOK&quot;&gt;&amp;nbsp;scanf(&amp;quot;%x&amp;quot;,&amp;amp;bVal);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;NO-BOK&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;NO-BOK&quot;&gt;&amp;nbsp;BYTE bParity =  fnGetParity(bVal,0);//fnGetParity(bVal,0);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;NO-BOK&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;NO-BOK&quot;&gt;&amp;nbsp;&lt;/span&gt;bVal = (bVal&amp;lt;&amp;lt;1)|  (!bParity);&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;printf(&amp;quot;0x%x&amp;quot;,bVal);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;NO-BOK&quot;&gt;}&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;NO-BOK&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;NO-BOK&quot;&gt;BYTE fnGetParity(BYTE  bByte,BYTE bXor)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;NO-BOK&quot;&gt;{&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;NO-BOK&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;NO-BOK&quot;&gt;&amp;nbsp;if(bByte)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;NO-BOK&quot;&gt;&amp;nbsp;  fnGetParity(bByte&amp;gt;&amp;gt;1,(bByte&amp;amp;0x1) ^ bXor);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;NO-BOK&quot;&gt;&amp;nbsp;&lt;/span&gt;else&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&amp;nbsp; return  bXor;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;}&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;Code found  somewhere&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;#define XYZ(data, shift)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  (((data) &amp;gt;&amp;gt; (shift)) ^ (data))&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;void main ()&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;{&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int x =  0x11;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&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(&amp;quot;%x  \n&amp;quot;,(((XYZ(XYZ(XYZ(XYZ(x,8),4),2),1))&amp;amp;1)==0)?(x&amp;lt;&amp;lt;1)^1:x&amp;lt;&amp;lt;1);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;}&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;Manohar&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot; lang=&quot;NO-BOK&quot;&gt;(Var&amp;gt;&amp;gt;1) |  ~((var&amp;amp;1) ^ (var&amp;amp;2) ^ (var&amp;amp;4) ^ (var&amp;amp;8) ^ (var&amp;amp;16) ^  (var&amp;amp;32) ^ (var&amp;amp;64))&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot; lang=&quot;NO-BOK&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;But this would be a  hardcoded way!&lt;/span&gt;&lt;/font&gt;&lt;font color=&quot;navy&quot;&gt;&lt;span style=&quot;color: navy;&quot;&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;IT&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;IT&quot;&gt;Murali&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;IT&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;IT&quot;&gt;#include  &amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;IT&quot;&gt;#include  &amp;lt;math.h&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;void main()&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;{&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int  c=0,i=0,a;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&amp;quot;Enter value in decimal form  (less than 127):&amp;quot;);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  scanf(&amp;quot;%x&amp;quot;,&amp;amp;a);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  for(i=0;i&amp;lt;7;i++)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if((int(pow(2,i)) &amp;amp; a) !=0)&amp;nbsp;  &lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  c=c+1;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c=c;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  a=a&amp;lt;&amp;lt;1;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (c%2==0 &amp;amp;&amp;amp;  c!=1)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a=a+1;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&amp;quot;Encrypted Value with Odd  Parity is %x\n&amp;quot;,a);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;}&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;KIRAN&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;void main()&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;{&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;int s,c,n;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;printf(&amp;quot;Enter a number lessthan  128\n&amp;quot;);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;font color=&quot;navy&quot;&gt;&lt;span style=&quot;color: navy;&quot; lang=&quot;PT-BR&quot;&gt;scanf(&amp;quot;%x&amp;quot;,&amp;amp;s);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;PT-BR&quot;&gt;&amp;nbsp;c=0;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;PT-BR&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;PT-BR&quot;&gt;&amp;nbsp;for(n=0;n&amp;lt;=6;n++)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;PT-BR&quot;&gt;&amp;nbsp;  if(s&amp;gt;&amp;gt;n&amp;amp;1)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;PT-BR&quot;&gt;&amp;nbsp;&amp;nbsp;  c=c+1;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;PT-BR&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;PT-BR&quot;&gt;&amp;nbsp;c%2?n=  (s|0&amp;lt;&amp;lt;8)&amp;lt;&amp;lt;1:n=  ((s|0&amp;lt;&amp;lt;8)&amp;lt;&amp;lt;1)|1;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;PT-BR&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;PT-BR&quot;&gt;&amp;nbsp;&lt;/span&gt;printf(&amp;quot;%x\n&amp;quot;,n);&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;}&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;VIDYASAGAR&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;strong&gt;&lt;b&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;int main()&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;strong&gt;&lt;b&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;{&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;strong&gt;&lt;b&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int i;&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br&gt;&lt;strong&gt;&lt;b&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int  a ,bit = 0,count = 0;&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;&lt;b&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;&lt;b&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&amp;nbsp;&amp;nbsp; printf(&amp;quot;enter a number in hexa  \n&amp;quot;);&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;&lt;b&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&amp;nbsp;&amp;nbsp;  scanf(&amp;quot;%x&amp;quot;,&amp;amp;a); &lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;strong&gt;&lt;b&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0;i&amp;lt;6;i++)  &lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;strong&gt;&lt;b&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br&gt;&lt;strong&gt;&lt;b&gt;&lt;font face=&quot;Times New Roman&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;bit =  ((a&amp;gt;&amp;gt;i)&amp;amp;1);&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;&lt;b&gt;&lt;font face=&quot;Times New Roman&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;  if(bit==1)&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;&lt;b&gt;&lt;font face=&quot;Times New Roman&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;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;&lt;b&gt;&lt;font face=&quot;Times New Roman&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;  count++;&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;&lt;b&gt;&lt;font face=&quot;Times New Roman&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;bit =  0;&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;&lt;b&gt;&lt;font face=&quot;Times New Roman&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;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;strong&gt;&lt;b&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;strong&gt;&lt;b&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp; a = a&amp;lt;&amp;lt;1;&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br&gt;&lt;strong&gt;&lt;b&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&amp;nbsp;&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;br&gt; &lt;strong&gt;&lt;b&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&amp;nbsp; if((count%2) == 0)//even  parity&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;&lt;b&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&amp;nbsp;  {&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;&lt;b&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&amp;nbsp;&amp;nbsp; a=  (a|1);&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;&lt;b&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&amp;nbsp;  }&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;br&gt;&lt;strong&gt;&lt;b&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&amp;nbsp;&amp;nbsp;  printf(&amp;quot;%x\n&amp;quot;,a);// our answer prints  here&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;strong&gt;&lt;b&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&amp;nbsp; return 0;&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;strong&gt;&lt;b&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;}//end of main&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;SADA&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;#include  &amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;void main()&lt;br&gt;{&lt;br&gt;&amp;nbsp;int  x,count=0;&lt;br&gt;&amp;nbsp;unsigned int a;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;&amp;nbsp;printf(&amp;quot;Enter the number:  \n&amp;quot;);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;&amp;nbsp;scanf(&amp;quot;%d&amp;quot;,&amp;amp;a);&lt;br&gt;&amp;nbsp;&amp;nbsp;  &lt;br&gt;&amp;nbsp;for(x=0;x&amp;lt;=7;x++)&lt;br&gt;&amp;nbsp;&amp;nbsp;&lt;br&gt;&amp;nbsp;&amp;nbsp;(a&amp;amp;(0000001&amp;lt;&amp;lt;x))?count++:0  ;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;&lt;br&gt;&amp;nbsp;(float(count%2)==0)?(a=(a&amp;lt;&amp;lt;1)|00000001):(a=(a&amp;lt;&amp;lt;1)|00000000);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;&amp;nbsp;printf(&amp;quot;%d&amp;quot;,a);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;}&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;BHIMSEN&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;void main()&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;{&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&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;/span&gt;&lt;/font&gt;&lt;font color=&quot;navy&quot;&gt;&lt;span style=&quot;color: navy;&quot; lang=&quot;PT-BR&quot;&gt;int a = 0x55, r=1, od,  i;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;PT-BR&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;PT-BR&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  for(i=0;i&amp;lt;7;i++)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot; lang=&quot;PT-BR&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; r =  ((a&amp;gt;&amp;gt;i)&amp;amp;1)^r;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; od =  (a&amp;lt;&amp;lt;1)|r;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&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(&amp;quot;%x  \n&amp;quot;,od);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;}&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;3&quot; color=&quot;navy&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: navy;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;blockquote style=&quot;border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color black; border-width: medium medium medium 1.5pt; margin: 5pt 0in 5pt 3.75pt; padding: 0in 0in 0in 4pt;&quot;&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;&amp;nbsp;Given a 7 bit  variable, convert into a 8 bit variable with ODD  parity&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;Example, if user inputs  0x11 then output shall be 0x23&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&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;  &lt;/span&gt;&lt;/font&gt;&lt;b&gt;&lt;font size=&quot;2&quot; color=&quot;red&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-weight: bold; font-size: 10pt; color: red; font-family: Arial;&quot;&gt;0x10  then output shall be 0x22&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;I am looking for most  efficient program or MACRO &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;At a certain point there is no difference between Magic and Science.&lt;br&gt;-Bhimsen Joshi &lt;/div&gt; </content><link rel='replies' type='application/atom+xml' href='http://thoughtaboutthis.blogspot.com/feeds/5752974201769114099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4821557221653042355/5752974201769114099' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/5752974201769114099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/5752974201769114099'/><link rel='alternate' type='text/html' href='http://thoughtaboutthis.blogspot.com/2008/07/given-7-bit-variable-convert-into-8-bit.html' title='Given a 7 bit variable, convert into a 8 bit variable with ODD parity'/><author><name>Destination - spot!</name><uri>http://www.blogger.com/profile/09725692900949934102</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>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4821557221653042355.post-1925519970761642044</id><published>2008-07-17T04:52:00.001-07:00</published><updated>2008-07-17T04:52:11.919-07:00</updated><title type='text'>Adding two natural numbers using logical operators &amp; without using arithmetic and unary operators</title><content type='html'>&lt;div dir=&quot;ltr&quot;&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;div link=&quot;blue&quot; vlink=&quot;purple&quot; lang=&quot;EN-US&quot;&gt;&lt;div&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;&lt;/span&gt;&lt;/font&gt;&lt;strong&gt; how to add two numbers without using arithmetic and unary operators&lt;/strong&gt;&lt;p&gt; &lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;Best Answer was from Sri&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;#include &amp;lt;stdio.h&amp;gt;&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int add(int a, int b)&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!a)&lt;br&gt; &amp;nbsp;&amp;nbsp;return b;&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;br&gt; &amp;nbsp;&amp;nbsp;return add((a &amp;amp; b) &amp;lt;&amp;lt; 1, a ^ b);&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int main()&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; unsigned int a,b;&lt;br&gt; &amp;nbsp;&amp;nbsp;printf(&amp;quot;Enter the two numbers: \n&amp;quot;);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&amp;quot;%d&amp;quot;,&amp;amp;a);&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&amp;quot;%d&amp;quot;,&amp;amp;b);&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&amp;quot;Sum is: %d&amp;quot;,add(a,b));&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;Regards,&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial;&quot;&gt;Sri&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;This looks like is a standard answer for this question &amp;nbsp;- available in INTERNET&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;   &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;KIRAN &amp;nbsp;(sum= s[n]*pow(2,n) + sum;) – this uses + right???&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot; lang=&quot;IT&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot; lang=&quot;IT&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;#include&amp;lt;math.h&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;void main()&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;{&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;int n;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;int a[10], b[10], c[10],s[10];&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;int x ,y ,sum=0;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;c[0]= 0;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;printf(&amp;quot;enter any two numbers below 256 \n&amp;quot;);&amp;nbsp; scanf(&amp;quot;%d%d&amp;quot;,&amp;amp;x,&amp;amp;y);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot; lang=&quot;PT-BR&quot;&gt;for(n=0;n&amp;lt;=9;n++)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot; lang=&quot;PT-BR&quot;&gt;&amp;nbsp;{&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot; lang=&quot;PT-BR&quot;&gt;&amp;nbsp;&amp;nbsp; a[n]= (x&amp;gt;&amp;gt;n)&amp;amp;1;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot; lang=&quot;PT-BR&quot;&gt;&amp;nbsp;&amp;nbsp; b[n]= (y&amp;gt;&amp;gt;n)&amp;amp;1;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot; lang=&quot;PT-BR&quot;&gt;&amp;nbsp;&amp;nbsp; s[n] = ((a[n])^(b[n]))^c[n];&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot; lang=&quot;PT-BR&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c[n+1] = (a[n] &amp;amp; b[n])|(b[n] &amp;amp; c[n])|(c[n] &amp;amp; a[n]);&amp;nbsp; }&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot; lang=&quot;PT-BR&quot;&gt;&amp;nbsp; for(n=9;n&amp;gt;=0;n--)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot; lang=&quot;PT-BR&quot;&gt;&amp;nbsp; {&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot; lang=&quot;PT-BR&quot;&gt;&amp;nbsp; printf(&amp;quot;%d\t&amp;quot;,s[n]);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot; lang=&quot;PT-BR&quot;&gt;&amp;nbsp; sum= s[n]*pow(2,n) + sum;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot; lang=&quot;PT-BR&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot; lang=&quot;PT-BR&quot;&gt;printf(&amp;quot;\nsum = %d\n&amp;quot;, sum);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;}&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;thanks&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;kiran k&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p style=&quot;&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;VIDYASAGAR&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;#include &amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;int add(int a, int b);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;main()&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; int a,b;&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&amp;quot;Enter the two numbers: \n&amp;quot;);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scanf(&amp;quot;%d&amp;quot;,&amp;amp;a);&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; scanf(&amp;quot;%d&amp;quot;,&amp;amp;b);&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; printf(&amp;quot;Sum of&amp;nbsp; given 2 numbers is: %d&amp;quot;,add(a,b));&amp;nbsp;&lt;br&gt; &lt;br&gt; }&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;int add(int a, int b)&lt;br&gt; &amp;nbsp;{&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!a) &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;return b;&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; else&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int x = (a &amp;amp; b)&amp;lt;&amp;lt;1;&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int y = a ^ b;&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int z = add(x,y);&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return z;&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br&gt; &amp;nbsp;}&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;Thanks &amp;amp; Regards,&lt;br&gt; Vidyasagar&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;MANOHAR&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;function&lt;/span&gt;&lt;/font&gt;&lt;font size=&quot;2&quot; color=&quot;black&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: black;&quot;&gt; prog()&lt;/span&gt;&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;   &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;black&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: black;&quot;&gt;a=40;&lt;/span&gt;&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;black&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: black;&quot;&gt;b=13;&lt;/span&gt;&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;black&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: black;&quot;&gt;ta=a;&lt;/span&gt;&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;black&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: black;&quot;&gt;tb=b;&lt;/span&gt;&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;black&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: black;&quot;&gt;v=0;&lt;/span&gt;&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;black&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: black;&quot;&gt;c=0;&lt;/span&gt;&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;black&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: black;&quot;&gt;clc&lt;/span&gt;&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;for&lt;/span&gt;&lt;/font&gt;&lt;font size=&quot;2&quot; color=&quot;black&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: black;&quot;&gt; i=1:16&lt;/span&gt;&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;   &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;black&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; s=bitxor(bitxor(bitand(a,1),bitand(b,1)),bitand(c,1));&lt;/span&gt;&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;black&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; v=v+s*(2^(i-1));&lt;/span&gt;&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;black&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; c=bitor(bitor(bitand(bitand(a,1),bitand(b,1)),bitand(bitand(a,1),bitand(c,1))),bitand(bitand(b,1),bitand(c,1)));&lt;/span&gt;&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;black&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a=bitshift(a,-1);&lt;/span&gt;&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;black&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b=bitshift(b,-1);&lt;/span&gt;&lt;/font&gt;&lt;font face=&quot;Courier New&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;end&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;3&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;black&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: black;&quot;&gt;disp(v);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;ABHINAY&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;a=0;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;x=(dec2bin(5))&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;y=(dec2bin(200))&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;t=&amp;#39;&amp;#39;;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;if length(x)&amp;lt;8&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot; lang=&quot;NO-BOK&quot;&gt;for i=1:(8-length(x))&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;   &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot; lang=&quot;NO-BOK&quot;&gt;&amp;nbsp; t(i)=&amp;#39;0&amp;#39;;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot; lang=&quot;NO-BOK&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;end&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;else&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; t=&amp;#39;&amp;#39;;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;end&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;x=seqreverse([t x]);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;t=&amp;#39;&amp;#39;;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;if length(y)&amp;lt;8&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot; lang=&quot;NO-BOK&quot;&gt;for i=1:(8-length(y))&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot; lang=&quot;NO-BOK&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; t(i)=&amp;#39;0&amp;#39;;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot; lang=&quot;NO-BOK&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;end&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;else &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; t=&amp;#39;&amp;#39;;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;end&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;y=seqreverse([t y]);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;for i=1:8&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot; lang=&quot;NO-BOK&quot;&gt;add(i)=bitxor(bitxor(str2num(x(i)),str2num(y(i))),a);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot; lang=&quot;NO-BOK&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a=bitor(bitor(bitand(str2num(x(i)),str2num(y(i))),bitand(str2num(x(i)),a)),bitand(str2num(y(i)),a));&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;end&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;ad=seqreverse(add);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot; lang=&quot;DE&quot;&gt;result=bin2dec(strrep(num2str(ad),&amp;#39; &amp;#39;,&amp;#39;&amp;#39;))&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot; lang=&quot;DE&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot; lang=&quot;DE&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;SWETHA gave me logic but it is not acceptable.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;BHIMSEN JOSHI&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;void main()&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;{&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int i;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int a = 255,b = 256;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int s=0,c=0,k, ai, bi ;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot; lang=&quot;IT&quot;&gt;for(i=0;i&amp;lt;9;i++) &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot; lang=&quot;IT&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot; lang=&quot;IT&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ai = ((a&amp;gt;&amp;gt;i)&amp;amp;1);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot; lang=&quot;IT&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bi = ((b&amp;gt;&amp;gt;i)&amp;amp;1);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot; lang=&quot;IT&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; k = ((((ai^bi)^c))&amp;lt;&amp;lt;i);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot; lang=&quot;IT&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s = s|k;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot; lang=&quot;IT&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; c = (ai&amp;amp;c) | (bi&amp;amp;c) | (ai&amp;amp;bi);&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot; lang=&quot;IT&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;}&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&amp;quot;%d&amp;quot;,s);&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;}&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;blue&quot; face=&quot;Courier New&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;div&gt;  &lt;div style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;  &lt;hr size=&quot;2&quot; width=&quot;100%&quot; align=&quot;center&quot;&gt;  &lt;/span&gt;&lt;/font&gt;&lt;/div&gt;  &lt;p&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Tahoma&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Tahoma; font-weight: bold;&quot;&gt;From:&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;font size=&quot;2&quot; face=&quot;Tahoma&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Tahoma;&quot;&gt; bhimsen [mailto:&lt;a href=&quot;mailto:bhimsen@cmcltd.com&quot; target=&quot;_blank&quot;&gt;bhimsen@cmcltd.com&lt;/a&gt;] &lt;br&gt; &lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Sent:&lt;/span&gt;&lt;/b&gt; Thursday, July 17, 2008 11:30 AM&lt;br&gt; &lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;To:&lt;/span&gt;&lt;/b&gt; &amp;#39;bhimsen&amp;#39;; &amp;#39;bhimsen&amp;#39;; &amp;#39;Manohar&amp;#39;; &amp;#39;Srikanth P&amp;#39;; &amp;#39;Abhniay CMC&amp;#39;; &amp;#39;K_Suresh_CMC&amp;#39;; &amp;#39;Kattamuri_CMC&amp;#39;; &amp;#39;Kiran K_CMC&amp;#39;; &amp;#39;Mani_CMC&amp;#39;; &amp;#39;Meena_CMC&amp;#39;; &amp;#39;Murali_CMC&amp;#39;; &amp;#39;Pavan Kumar G&amp;#39;; &amp;#39;Pavani Madhira CMC&amp;#39;; &amp;#39;Rajani G&amp;#39;; &amp;#39;&lt;a href=&quot;mailto:rrk@cmcltd.com&quot; target=&quot;_blank&quot;&gt;rrk@cmcltd.com&lt;/a&gt;&amp;#39;; &amp;#39;Sadalakshmi M CMC&amp;#39;; &amp;#39;Sivakumar&amp;#39;; &amp;#39;Sravan_B&amp;#39;; &amp;#39;SravanKumar_GV&amp;#39;; &amp;#39;&lt;a href=&quot;mailto:sravanthi.batchu@cmcltd.com&quot; target=&quot;_blank&quot;&gt;sravanthi.batchu@cmcltd.com&lt;/a&gt;&amp;#39;; &amp;#39;Sriraja kumari&amp;#39;; &amp;#39;Swetha Tattari CMC&amp;#39;; &amp;#39;Usha_CMC&amp;#39;; &amp;#39;V.Satish_CMC&amp;#39;; &amp;#39;Venkat Prasad D&amp;#39;; &amp;#39;Venkata Krishna R&amp;#39;; &amp;#39;Vidyasagar_CMC&amp;#39;; &amp;#39;Vijay_CMC&amp;#39;; &amp;#39;VLV Naresh Kumar&amp;#39;; &amp;#39;Santosh Kumar&amp;#39;; &amp;#39;Venkata Krishna  R&amp;#39;; &amp;#39;V.Satish_CMC&amp;#39;&lt;br&gt; &lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Subject:&lt;/span&gt;&lt;/b&gt; RE: C question # 2 - send answers only to me&lt;br&gt; &lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Importance:&lt;/span&gt;&lt;/b&gt; High&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;p&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;Is every one busy or cannot solve the simple problem?&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;&amp;nbsp; None of the team members answered it correctly &amp;amp; completely.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;I was thinking it is a 15 mins problem.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;I received only one answer from Kiran. &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;div&gt;  &lt;div style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;  &lt;hr size=&quot;2&quot; width=&quot;100%&quot; align=&quot;center&quot;&gt;  &lt;/span&gt;&lt;/font&gt;&lt;/div&gt;  &lt;p&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Tahoma&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Tahoma; font-weight: bold;&quot;&gt;From:&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;font size=&quot;2&quot; face=&quot;Tahoma&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Tahoma;&quot;&gt; bhimsen [mailto:&lt;a href=&quot;mailto:bhimsen@cmcltd.com&quot; target=&quot;_blank&quot;&gt;bhimsen@cmcltd.com&lt;/a&gt;] &lt;br&gt; &lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Sent:&lt;/span&gt;&lt;/b&gt; Wednesday, July 16, 2008 1:06 PM&lt;br&gt; &lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;To:&lt;/span&gt;&lt;/b&gt; &amp;#39;bhimsen&amp;#39;; &amp;#39;Manohar&amp;#39;; &amp;#39;Srikanth P&amp;#39;; &amp;#39;Abhniay CMC&amp;#39;; &amp;#39;K_Suresh_CMC&amp;#39;; &amp;#39;Kattamuri_CMC&amp;#39;; &amp;#39;Kiran K_CMC&amp;#39;; &amp;#39;Mani_CMC&amp;#39;; &amp;#39;Meena_CMC&amp;#39;; &amp;#39;Murali_CMC&amp;#39;; &amp;#39;Pavan Kumar G&amp;#39;; &amp;#39;Pavani Madhira CMC&amp;#39;; &amp;#39;Rajani G&amp;#39;; &amp;#39;&lt;a href=&quot;mailto:rrk@cmcltd.com&quot; target=&quot;_blank&quot;&gt;rrk@cmcltd.com&lt;/a&gt;&amp;#39;; &amp;#39;Sadalakshmi M CMC&amp;#39;; &amp;#39;Sivakumar&amp;#39;; &amp;#39;Sravan_B&amp;#39;; &amp;#39;SravanKumar_GV&amp;#39;; &amp;#39;&lt;a href=&quot;mailto:sravanthi.batchu@cmcltd.com&quot; target=&quot;_blank&quot;&gt;sravanthi.batchu@cmcltd.com&lt;/a&gt;&amp;#39;; &amp;#39;Sriraja kumari&amp;#39;; &amp;#39;Swetha Tattari CMC&amp;#39;; &amp;#39;Usha_CMC&amp;#39;; &amp;#39;V.Satish_CMC&amp;#39;; &amp;#39;Venkat Prasad D&amp;#39;; &amp;#39;Venkata Krishna R&amp;#39;; &amp;#39;Vidyasagar_CMC&amp;#39;; &amp;#39;Vijay_CMC&amp;#39;; &amp;#39;VLV Naresh Kumar&amp;#39;; &amp;#39;Santosh Kumar&amp;#39;; &amp;#39;Venkata Krishna  R&amp;#39;; &amp;#39;V.Satish_CMC&amp;#39;&lt;br&gt; &lt;b&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Subject:&lt;/span&gt;&lt;/b&gt; C question # 2 - send answers only to me&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;p&gt;&lt;font size=&quot;3&quot; face=&quot;Times New Roman&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;Write a program to add two numbers &amp;lt;= 255&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;Constraint you cannot use arithmetic operators (+,-,*, /)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;Use the Boolean operators (&amp;amp;, | ) and shift operators &amp;gt;&amp;gt;, &amp;lt;&amp;lt; to achieve the result. &lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;Regards,&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Arial; color: navy;&quot;&gt;Bhimsen joshi&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;/div&gt;   &lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;At a certain point there is no difference between Magic and Science.&lt;br&gt;-Bhimsen Joshi &lt;/div&gt; </content><link rel='replies' type='application/atom+xml' href='http://thoughtaboutthis.blogspot.com/feeds/1925519970761642044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4821557221653042355/1925519970761642044' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/1925519970761642044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/1925519970761642044'/><link rel='alternate' type='text/html' href='http://thoughtaboutthis.blogspot.com/2008/07/adding-two-natural-numbers-using.html' title='Adding two natural numbers using logical operators &amp; without using arithmetic and unary operators'/><author><name>Destination - spot!</name><uri>http://www.blogger.com/profile/09725692900949934102</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></entry><entry><id>tag:blogger.com,1999:blog-4821557221653042355.post-8914040101982657951</id><published>2008-07-16T01:44:00.001-07:00</published><updated>2008-07-16T01:44:30.258-07:00</updated><title type='text'>C language puzzles - Question # 1 - value of a bit in a given number</title><content type='html'>&lt;div dir=&quot;ltr&quot;&gt;&lt;style&gt; &amp;lt;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{margin:0in; 	margin-bottom:.0001pt; 	font-size:12.0pt; 	font-family:&amp;quot;Times New Roman&amp;quot;;} a:link, span.MsoHyperlink 	{color:blue; 	text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed 	{color:purple; 	text-decoration:underline;} span.EmailStyle17 	{mso-style-type:personal; 	font-family:Arial; 	color:windowtext;} span.EmailStyle18 	{mso-style-type:personal-reply; 	font-family:Arial; 	color:navy;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 	{page:Section1;} --&amp;gt; &lt;/style&gt;&lt;div class=&quot;Section1&quot;&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;Write a macro to find  the bit value in a given 16 bit variable at a given  location.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;BITVALUE(var,n)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;br&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;Example: 0x1234 &lt;br&gt; &lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;br&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;find the bit value of 3rd bit. 4 = 0100(base 2)&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;answer = 0&lt;br&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;br&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;find the bit value of 2nd bit. 4 = 0100(base 2)&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;answer = 1&lt;br&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;br&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;find the bit value of 5th bit. 34 = 0011-0100(base 2)&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;answer = 1&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;br&gt; &lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;br&gt; &lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;br&gt;&lt;font size=&quot;2&quot; color=&quot;navy&quot; face=&quot;Arial&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: navy; font-family: Arial;&quot;&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;At a certain point there is no difference between Magic and Science.&lt;br&gt; -Bhimsen Joshi &lt;/div&gt; </content><link rel='replies' type='application/atom+xml' href='http://thoughtaboutthis.blogspot.com/feeds/8914040101982657951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4821557221653042355/8914040101982657951' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/8914040101982657951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4821557221653042355/posts/default/8914040101982657951'/><link rel='alternate' type='text/html' href='http://thoughtaboutthis.blogspot.com/2008/07/c-language-puzzles-question-1-value-of.html' title='C language puzzles - Question # 1 - value of a bit in a given number'/><author><name>Destination - spot!</name><uri>http://www.blogger.com/profile/09725692900949934102</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>