What does the compiler do to perform a cast operation in C++?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/340413/how-do-c-c-compilers-handle-type-casting">How do C/C++ compilers handle type casting between types with different value ranges?</a>  </p>
</blockquote>



<p>What does the compiler do to perform a cast operation in C++?</p>

<p>Explain with some sample C++ code.</p>
