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));

🎲 Try a Random Question  |  Total Questions in Quiz: 156  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
C# Programming Practice Test — practice the complete quiz, review flashcards, or try a random 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.Write.Line((float) x + y * z - (x += (short) y));