sizeof operator gives varied results for float : <pre><code>float f=124.50;
cout&lt;&lt;sizeof(f);
cout&lt;&lt;sizeof(124.50);
</code></pre>

<p>Both the statements give different results.But works for int and char. why does it differ for float? </p>
