1)

What is the output of the following set of code ?

static void Main(string[] args)
{
int x = 1;
float y = 2. 4f;
short z = 1;
Console. WriteLine((float) x + y * z - (x + = (short) y) );
Console. ReadLine();
}


A) 0.4000006

B) 0.4000024

C) 0.0400022

D) 0.4000001

Answer:

Option D