tag:blogger.com,1999:blog-4974101930208446976.post593723690745576273..comments2023-09-11T07:47:51.285-07:00Comments on Embedded systems and linux device driver interview questions: Operating System Interview QuestionsYogeshhttp://www.blogger.com/profile/04173496341902873362noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-4974101930208446976.post-62979530495577497842016-07-10T11:22:51.940-07:002016-07-10T11:22:51.940-07:00The links are not not working anymore !!The links are not not working anymore !!Anonymoushttps://www.blogger.com/profile/16389474451405815666noreply@blogger.comtag:blogger.com,1999:blog-4974101930208446976.post-84506623403569786172015-06-04T04:15:32.829-07:002015-06-04T04:15:32.829-07:00Good
Here is blog for basic C and C++ programs
Li...Good<br />Here is blog for basic C and C++ programs <br />List of C and C++ Programs<br />blog link <br /><a href="http://cbasicexamples.blogspot.in/p/c-programming-examples.html" rel="nofollow">C and C++ based programs </a>ffdfdhttps://www.blogger.com/profile/04580275902852061158noreply@blogger.comtag:blogger.com,1999:blog-4974101930208446976.post-44390886953238750792014-11-24T22:32:30.303-08:002014-11-24T22:32:30.303-08:00int power_of_two(unsigned int number){
if(...int power_of_two(unsigned int number){<br /> if((number)&(number-1))<br /> printf("%d Not Power of two\n",number);<br /> else<br /> printf("%d Power of two\n",number);<br /><br />return 0;<br />}<br />Nikhil varghesehttps://www.blogger.com/profile/12198533834750120651noreply@blogger.comtag:blogger.com,1999:blog-4974101930208446976.post-63567677555740572652014-04-08T04:19:24.671-07:002014-04-08T04:19:24.671-07:00For the question "Write a function to swap ev...For the question "Write a function to swap even bits with consecutive odd bits in a "number.<br />following should be the answer.<br /><br />return (num<<1 & 0x55555555) | (num>>1 & 0xAAAAAAAA);Anonymoushttps://www.blogger.com/profile/00206172395960906793noreply@blogger.comtag:blogger.com,1999:blog-4974101930208446976.post-90376915673980256232014-04-07T04:17:17.642-07:002014-04-07T04:17:17.642-07:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/16725990363509935667noreply@blogger.comtag:blogger.com,1999:blog-4974101930208446976.post-85079959426552771462013-10-14T13:36:27.665-07:002013-10-14T13:36:27.665-07:00Good Point. Agreed.Good Point. Agreed.Anonymoushttps://www.blogger.com/profile/12587619762275836256noreply@blogger.comtag:blogger.com,1999:blog-4974101930208446976.post-54321456668110806372013-08-15T00:49:03.414-07:002013-08-15T00:49:03.414-07:00For the first question to find if the number is a ...For the first question to find if the number is a power of 2 or not, an ! is missing in the if statement. <br />Reason: If a number is a power of 2, then the bit wise and of the number with number - 1 would result in all zeros.Anonymoushttps://www.blogger.com/profile/09723124767475254818noreply@blogger.com