Which Of The Conversions Are Valid For The Following C Codep #73
Which of the conversions are valid for the following C# code?</p> <pre><code class="language-csharp" line="1"> static void Main(string[] args) { int a = 22; long b = 44; double c = 1.406; b = a; c = a; a = b; b = 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 - Type Conversion in Expressions - Quiz No.1.
Which of the conversions are valid for the following C# code?
static void Main(string[] args) { int a = 22; long b = 44; double c = 1.406; b = a; c = a; a = b; b = c; }
c = a, b = c
a = c, b = a
b = a, c = a
All of the mentioned