1.

Which of the following operations are INCORRECT ?

A. <pre class="prettyprint lang-c">int a = 15; a = a%5;<br></pre>
B. <pre class="prettyprint lang-c">short int b = 53; b = b%15;<br></pre>
C. <pre class="prettyprint lang-c">long int c = 125L; c = c % 14;<br></pre>
D. <pre class="prettyprint lang-c">float d = 6.128; d = d%7;<br></pre>
Answer» E.


Discussion

No Comment Found

Related MCQs