<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'bitwise left shift operator' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'bitwise left shift operator' posted on the 'C and C++' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Wed, 19 Jun 2013 22:58:49 -0700</pubDate>
    <lastBuildDate>Wed, 19 Jun 2013 22:58:49 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>bitwise left shift operator</title>
      <link>http://www.programmersheaven.com/mb/CandCPP/429700/429700/bitwise-left-shift-operator/</link>
      <description>hi&lt;br /&gt;
if we left shift 35 by 4 places, we are supposed to get result ( 35 x 2 to the power 4 ) according to definition of left shift operator but I am getting a different answer. why?&lt;br /&gt;
&lt;br /&gt;
binary of 35 is 00100011&lt;br /&gt;
00100011 &amp;lt;&amp;lt; 4 will result in 00110000 which is 48 where as the result should be 35 x 16 = 560.&lt;br /&gt;
&lt;br /&gt;
please somebody help me&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/CandCPP/429700/429700/bitwise-left-shift-operator/</guid>
      <pubDate>Wed, 03 Oct 2012 10:03:57 -0700</pubDate>
      <category>C and C++</category>
    </item>
    <item>
      <title>Re: bitwise left shift operator</title>
      <link>http://www.programmersheaven.com/mb/CandCPP/429700/429723/re-bitwise-left-shift-operator/#429723</link>
      <description>If your value is in a byte (char) you loose all the bits above 255. So 35 (00100011) becomes 48 (00110000)&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/CandCPP/429700/429723/re-bitwise-left-shift-operator/#429723</guid>
      <pubDate>Fri, 05 Oct 2012 12:53:22 -0700</pubDate>
      <category>C and C++</category>
    </item>
  </channel>
</rss>