tag:blogger.com,1999:blog-7662544687317968079.post4812290997541906295..comments2024-03-28T19:27:22.265-07:00Comments on Interview Questions: How to swap the two nibbles in a byte ?Vijay Agrawalhttp://www.blogger.com/profile/16856170291286959451noreply@blogger.comBlogger30125tag:blogger.com,1999:blog-7662544687317968079.post-31481150315100260332020-03-30T02:01:39.390-07:002020-03-30T02:01:39.390-07:00nike air max 2017
christian louboutin
jordan shoes...<a href="http://www.nike-airmax2017.us.com" rel="nofollow"><strong>nike air max 2017</strong></a><br /><a href="http://www.christianlouboutin-shoes.com" rel="nofollow"><strong>christian louboutin</strong></a><br /><a href="http://www.air-jordanshoes.us.org" rel="nofollow"><strong>jordan shoes</strong></a><br /><a href="http://www.goldengoose-outlet.us.com" rel="nofollow"><strong>golden goose outlet</strong></a><br /><a href="http://www.kd11.us.com" rel="nofollow"><strong>kd 11 shoes</strong></a><br /><a href="http://www.coachbags.in.net" rel="nofollow"><strong>coach bags</strong></a><br /><a href="http://www.kd11.us" rel="nofollow"><strong>kd 11</strong></a><br /><a href="http://www.supreme-clothings.us.com" rel="nofollow"><strong>supreme clothing</strong></a><br /><a href="http://www.goyardhandbags.us.org" rel="nofollow"><strong>goyard</strong></a><br /><a href="http://www.coachoutlets.name" rel="nofollow"><strong>coach outlet sale</strong></a><br />yanmaneeehttps://www.blogger.com/profile/15229165146687805497noreply@blogger.comtag:blogger.com,1999:blog-7662544687317968079.post-6286260913566208702019-09-02T06:28:41.809-07:002019-09-02T06:28:41.809-07:00lebron 16
adidas tubular
adidas tubular
jordan sho...<a href="http://www.lebron16.us" rel="nofollow"><strong>lebron 16</strong></a><br /><a href="http://www.adidas-tubular.us.com" rel="nofollow"><strong>adidas tubular</strong></a><br /><a href="http://www.adidas-tubular.us.com" rel="nofollow"><strong>adidas tubular</strong></a><br /><a href="http://www.jordan4.us.com" rel="nofollow"><strong>jordan shoes</strong></a><br /><a href="http://www.retro-jordans.us.com" rel="nofollow"><strong>cheap jordans</strong></a><br /><a href="http://www.hogan-outlet.us.com" rel="nofollow"><strong>hogan outlet online</strong></a><br /><a href="http://www.coachoutlets.name" rel="nofollow"><strong>coach outlet sale</strong></a><br /><a href="http://www.nikesneakers.us.com" rel="nofollow"><strong>nike sneakers for women</strong></a><br /><a href="http://www.louboutinshoes.uk" rel="nofollow"><strong>louboutin shoes uk</strong></a><br /><a href="http://www.nikeairmax2019.us.com" rel="nofollow"><strong>nike air max 2019</strong></a><br />yanmaneeehttps://www.blogger.com/profile/15229165146687805497noreply@blogger.comtag:blogger.com,1999:blog-7662544687317968079.post-3430774283742346352014-05-26T04:15:12.144-07:002014-05-26T04:15:12.144-07:00struct nibbles
{
int lnibble:4;
int unibble:4;
};
...struct nibbles<br />{<br />int lnibble:4;<br />int unibble:4;<br />};<br />union swap<br />{<br />char byte;<br />struct nibbles nb;<br />};<br />int main()<br />{<br />union swap sw;<br />int temp;<br />sw.byte=0x12;<br />printf("Before swap:%x\n",sw.byte);<br />temp=sw.nb.lnibble;<br />sw.nb.lnibble=sw.nb.unibble;<br />sw.nb.unibble=temp;<br />printf("After swap:%x",sw.byte);<br />}<br /><br /><br />this is better code thanks to help me and i have the another code for the same similar answer <br /> <br /><br /><br />#include<br />main()<br />{<br />char x=0x43;<br />printf("%x",((x>>4) & 0x0f) | (x<<4) & 0x0f));<br />}<br /><br />o/p=<br /> <br /> if we give x=43 then it will convert to the '34',how means?<br /><br />34 convert bytes means=00101011,<br />0x0f(15)=00001111,<br /><br /> x----------= 00101011<br />(x>>4)---------= 00000010<br />0x0f(15)-------= 00001111<br /> ---------<br />((x>>4)&0x0f)--= 00000010<br /> ---------<br /><br /> x---------- = 00101011<br />(x<<4)---------= 10110000<br />0x0f(15)-------= 00001111<br /> ---------<br />((x>>4)&0x0f)--= 00000000<br /> ---------<br /> <br />(x>>4)& 0x0f = 00000010<br />(x<<4) & 0X0f = 00000000<br /> ----------<br />doing (or) = 00000010 = 2<br /> ----------<br />finally we will get " 2 " .so print that 2 in to the hexa decimal value<br /><br /><br /><br />please share me any question dought. <br /><br />Thanks.......Its mehttps://www.blogger.com/profile/06559150472719282189noreply@blogger.comtag:blogger.com,1999:blog-7662544687317968079.post-69962935238128148652013-09-19T12:17:09.869-07:002013-09-19T12:17:09.869-07:00unsigned char swap_nibbles(unsigned char c)
{
...unsigned char swap_nibbles(unsigned char c)<br />{<br /> return( c << 4 | c >> 4);<br />}<br /><br />Check my Blog: <br />azimchisty.blogspot.inMohammad Azimuddinhttps://www.blogger.com/profile/02440867821010543564noreply@blogger.comtag:blogger.com,1999:blog-7662544687317968079.post-33464785320107199082013-08-15T14:42:37.218-07:002013-08-15T14:42:37.218-07:00Nice. Here's mine, using the fact that c varia...Nice. Here's mine, using the fact that c variables are passed by value...<br /><br />#include < stdio.h ><br /><br />unsigned char swap_nibbles(unsigned char c)<br />{<br />unsigned char temp;<br />temp = c & 0x0F;<br />c = c & 0xF0;<br />temp=temp << 4;<br />c=c >> 4; <br /><br />return(c|temp); //adding the bits<br />}<br /><br />int main(void)<br />{<br />char ch=0x34;<br />printf("\nThe exchanged value is %x",swap_nibbles(ch));<br />return 0;<br />}Leonoreply@blogger.comtag:blogger.com,1999:blog-7662544687317968079.post-59840756173106170232013-08-15T14:41:06.832-07:002013-08-15T14:41:06.832-07:00This comment has been removed by the author.leoasohttps://www.blogger.com/profile/11479251887843709508noreply@blogger.comtag:blogger.com,1999:blog-7662544687317968079.post-24050882360842105482013-06-05T03:16:46.757-07:002013-06-05T03:16:46.757-07:00I do consider all of the concepts you have introdu...I do consider all of the concepts you have introduced <br />on your post. They are very convincing and can certainly work.<br />Still, the posts are too quick for beginners. Could you please prolong <br />them a little from next time? Thanks for the post.<br /><br /><br />Also visit my webpage; <a href="http://orangecountyforrest61.revelife.com/773599829/useful-gardening-tools-you-simply-cant-do/" rel="nofollow">home renovation cost estimator spreadsheet</a>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7662544687317968079.post-78208962463646601202013-06-01T23:59:58.364-07:002013-06-01T23:59:58.364-07:00My brother suggested I might like this blog. He wa...My brother suggested I might like this blog. He was <br />entirely right. This post truly made my day. You can not imagine simply how much time I had spent for this info!<br />Thanks!<br /><br />Here is my webpage <a href="http://orangecountyanibal81.webs.com/apps/blog/show/27087175-how-to-choose-the-right-gardening-tools" rel="nofollow">kitchen appliances brands in vietnam</a>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7662544687317968079.post-27773466929703479562013-03-30T22:23:03.247-07:002013-03-30T22:23:03.247-07:00Thanks , I have јust beеn searching for infοrmatіo...Thanks , I have јust beеn searching for infοrmatіon approxіmatеlу thiѕ tοpic fοr agеѕ anԁ <br />yours is thе greatеst Ι've came upon so far. However, what in regards to the conclusion? Are you positive in regards to the supply?<br /><br />Feel free to surf to my web page :: <a href="http://s282307450.online.de/archives/16814" rel="nofollow">raspberry ketone</a>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7662544687317968079.post-66266335152143129802013-03-30T22:23:00.632-07:002013-03-30T22:23:00.632-07:00Thаnks , I have juѕt bеen ѕearсhіng foг informatio...Thаnks , I have juѕt bеen ѕearсhіng foг information approximatеly this topiс for agеs аnd youгs is the gгeateѕt I've came upon so far. However, what in regards to the conclusion? Are you positive in regards to the supply?<br /><br />Here is my site ... <a href="http://s282307450.online.de/archives/16814" rel="nofollow">raspberry ketone</a>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7662544687317968079.post-88428695450122195802013-03-09T03:07:40.307-08:002013-03-09T03:07:40.307-08:00Gday! My name is Rogelio and I really just desired...Gday! My name is Rogelio and I really just desired to say your weblog is awesome!<br />It's amusing simply because I use to have a weblog that nearly had an identical website url: http://www.blogger.com/comment.g?blogID=7662544687317968079&postID=4812290997541906295 mine was only a few characters different. In any case, I am a big fan of your blogging site and if you ever would like a guest write-up make sure you email me at: eulagrant@gmail.com. I absolutely love writing!<br /><br />Have a look at my site <a href="http://www.ziki.com/en/isaac-snow-26+979743/post/Suggestions-For+14059515" rel="nofollow">short term apartment finding</a>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7662544687317968079.post-11745412010908934902013-03-08T12:28:02.399-08:002013-03-08T12:28:02.399-08:00Neat blog! Is your theme custom made or did
you d...Neat blog! Is your theme custom made or did <br />you download it from somewhere? A design like yours with <br />a few simple tweeks would really make my blog jump out.<br /><br />Please let me know where you got your design. Bless you<br /><br />Feel free to surf to my web site: <a href="http://www.youtube.com/watch?v=52hr0tFxMYs" rel="nofollow">furnace troubleshooting chart</a>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7662544687317968079.post-85822446409114888252013-02-04T07:46:16.038-08:002013-02-04T07:46:16.038-08:00I think the admin of this web page is really worki...I think the admin of this web page is really working hard in favor of his website, for the reason that here every <br />stuff is quality based stuff.<br /><i>Here is my homepage</i> <b><a href="http://3dwise.co.uk/" rel="nofollow">3d games</a></b>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7662544687317968079.post-40521370367057564332013-02-04T07:45:43.014-08:002013-02-04T07:45:43.014-08:00Today, I went to the beach front with my kids. I f...Today, I went to the beach front with my kids. I found a <br />sea shell and gave it to my 4 year old daughter and said "You can hear the ocean if you put this to your ear." She placed the shell to her ear and screamed.<br /><br />There was a hermit crab inside and it pinched her <br />ear. She never wants to go back! LoL I know this is completely off topic but I had to tell someone!<br /><i>My web site</i> : <b><a href="https://www.popflops.com/pages.php?pageid=1" rel="nofollow">Popflops</a></b>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7662544687317968079.post-41587367065890825332013-02-04T07:43:41.562-08:002013-02-04T07:43:41.562-08:00I don't even understand how I ended up here, b...I don't even understand how I ended up here, but I believed this publish used to be great. I do not recognise who you're <br />but definitely you are going to a well-known blogger if you happen to aren't already. Cheers!<br /><i>Feel free to visit my web blog</i> :: <b><a href="http://www.divinedestinycareercoaching.com/index.html" rel="nofollow">Career Coaching For Women</a></b>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7662544687317968079.post-48484706374244048272013-02-04T07:41:51.666-08:002013-02-04T07:41:51.666-08:00Hello would you mind stating which blog platform y...Hello would you mind stating which blog platform you're working with? I'm going <br />to start my own blog in the near future but I'm having a difficult time making a decision between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design and style seems different then most blogs and I'm looking for something unique.<br />P.S Apologies for getting off-topic but I had to ask!<br /><i>Feel free to surf my weblog</i> :: <b><a href="http://www.voicewinds.com/clientarea.php" rel="nofollow">Teamspeak and shoutcast servers</a></b>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7662544687317968079.post-42752628026271886892013-02-04T07:41:43.993-08:002013-02-04T07:41:43.993-08:00Hi there very cool site!! Man .. Excellent .. Wond...Hi there very cool site!! Man .. Excellent .. Wonderful .<br />. I will bookmark your blog and take the feeds also?<br />I'm happy to search out so many helpful info right here within the publish, we'd like develop <br />more techniques in this regard, thanks for sharing. . . . .<br />.<br /><i>Look into my blog post</i> <b><a href="http://glowballoonsusa.com/GB-Retro-360-Yellow-GBR-YELLOW.htm" rel="nofollow">gb retro 360 searchlight yellow</a></b>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7662544687317968079.post-45127653796620139802013-02-04T07:41:09.783-08:002013-02-04T07:41:09.783-08:00I was curious if you ever considered changing the ...I was curious if you ever considered changing the structure of your website?<br />Its very well written; I love what youve got to say.<br />But maybe you could a little more in the way of content so people <br />could connect with it better. Youve got an awful lot of text for only having one or 2 pictures.<br />Maybe you could space it out better?<br /><i>Here is my webpage</i> :: <b><a href="http://blog.unforked.com/author/unforked" rel="nofollow">unforked</a></b>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7662544687317968079.post-8950993051711172232013-02-04T07:40:59.581-08:002013-02-04T07:40:59.581-08:00Spot on with this write-up, I actually feel this w...Spot on with this write-up, I actually feel this website needs far more attention.<br />I'll probably be returning to see more, thanks for the information!<br /><i>Also see my web site</i>: <b><a href="http://www.eventsandweddingwishes.com/?_escaped_fragment_=corporate-dinner,-kauai-south-shore/zoom/mainPage/image19tz" rel="nofollow">Kauai South Shore</a></b>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7662544687317968079.post-15345368583929849682013-02-04T07:40:39.996-08:002013-02-04T07:40:39.996-08:00This design is wicked! You obviously know how to k...This design is wicked! You obviously know how to keep a <br />reader amused. Between your wit and your videos, I was <br />almost moved to start my own blog (well, almost..<br />.HaHa!) Fantastic job. I really enjoyed what you had to say, and more than that, <br />how you presented it. Too cool!<br /><i>Review my site</i> ... <b><a href="http://sanstreet.com.sg/product-category/subcrewreact/" rel="nofollow">SanStreet</a></b>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7662544687317968079.post-82812927743891828372013-02-04T07:40:22.031-08:002013-02-04T07:40:22.031-08:00When someone writes an paragraph he/she retains th...When someone writes an paragraph he/she retains the image of a user in his/her mind that how a user <br />can be aware of it. So that's why this article is perfect. Thanks!<br /><i>Feel free to visit my webpage</i> <b><a href="http://www.alyssamelodyacupuncture.com/?_escaped_fragment_=untitled/c1yng" rel="nofollow">Holistic Health Care</a></b>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7662544687317968079.post-79184849880663685422013-02-04T07:39:57.515-08:002013-02-04T07:39:57.515-08:00After I originally left a comment I seem to have c...After I originally left a comment I seem to have clicked on the -Notify me when new comments are added- checkbox and now whenever a comment is added I recieve 4 emails with the exact same <br />comment. Perhaps there is a way you can remove me from that service?<br />Thanks a lot!<br /><i>Feel free to visit my page</i> ; <b><a href="http://papillex.com/" rel="nofollow">hpv wart treatment</a></b>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7662544687317968079.post-48836434639686302152013-02-04T07:39:44.961-08:002013-02-04T07:39:44.961-08:00Yes! Finally something about aani.
Feel free to su...Yes! Finally something about aani.<br /><i>Feel free to surf my web site</i> : <b><a href="http://vertnet.ca/contactez-nous.html" rel="nofollow">Contactez-Nous</a></b>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7662544687317968079.post-33764083836893282902013-02-04T07:39:33.473-08:002013-02-04T07:39:33.473-08:00Howdy exceptional blog! Does running a blog such
...Howdy exceptional blog! Does running a blog such <br />as this take a lot of work? I've virtually no expertise in computer programming however I was hoping to start my own blog in the near future. Anyhow, if you have any ideas or techniques for new blog owners please share. I understand this is off subject however I simply needed to ask. Appreciate it!<br /><i>Also visit my website</i> :: <b><a href="http://www.candecarpetsandvents.com/dryerventcleaning.html" rel="nofollow">will cleaning my dryer vent make my clothes dry faster carpet cleaning</a></b>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7662544687317968079.post-1257005216559943662013-02-04T07:38:50.043-08:002013-02-04T07:38:50.043-08:00I am not sure the place you're getting your in...I am not sure the place you're getting your information, but good topic. I must spend a while studying more or figuring out more. Thanks for excellent info I used to be in search of this info for my mission.<br /><i>Also visit my homepage</i> : <b><a href="https://www.rainbowcottoncandy.com/" rel="nofollow">bags of cotton candy</a></b>Anonymousnoreply@blogger.com