Q. 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.Write.Line((float) x + y * z - (x += (short) y)); (Solved)
1. 0.1
2. 1.0
3. 1.1
4. 11
- a. 0.1
1. 0.1
2. 1.0
3. 1.1
4. 11