Does The Output Remain Same Or Different For Both Casesbr Ip #10
Does the output remain same or different for both cases?<br /> i)</p> <pre><code class="language-csharp" line="1"> char l ='k'; float b = 19.0f; int c; c = (l / convert.ToInt32(b)); Console.Writeline(c); </code></pre> <p>ii)</p> <pre><code class="language-csharp" line="1"> char l ='k'; float b = 19.0f; int c; c = Convert.ToInt32(l / b); console.writeline(c); </code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs108 CSharp. It can also be found in gs gs108 Data Types, Variables and Operators - Integer Data Types - Quiz No.1.