title: Can anyone explaing how this answer is calculated?
body: <pre><code>#include&lt;stdio.h&gt;
  int main()
  {
     printf(&quot;%x&quot;, -1&lt;&lt;1);
     getchar();
     return 0;
  }
  </code></pre>
  <p>Output:
  Output is dependent on the compiler. For 32 bit compiler it would be fffffffe and for 16 bit it would be fffe.</p>
  <p>This is from geek for geeks</p>