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.4000004
b) 0.4000023
c) 0.0400021
d) 0.4000001
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.4000004
b) 0.4000023
c) 0.0400021
d) 0.4000001
You must be logged in to post a comment.
d
Explanation: None.
Output : 0.4000001