- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
What will be the output of the following code snippet when it is executed?

    int x = 1; 
    float y = 1.1f;
    short z = 1;
    Console.WriteLine((float) x + y * z - (x += (short) y));

1.0.1

2.1

3.1.1

4.11

Posted Date:-2021-02-25 10:24:19


More MCQS Questions and answers

Search