Thanks Everybody for responding. I have another query which is off-topic but related.<div><br></div><div>Why is the following allowed in D?</div><div><br></div><div>long a;</div><div>int b;</div><div><br></div><div>b += a; // Allowed -- no explicit cast</div>
<div>b = a + b; // Not allowed</div><div>b = a; // Not allowed</div><div><br></div>