Home » C# Programming » Datatypes

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

Correct Answer: 0.1

← Previous Question Next Question→

More Questions from Datatypes

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion