What will be stored in number after execution of the following statement?

int denominator = 2, numerator = 5;
float number = (float) denominator / numerator;

a) 0
b) 0.0
c) 0.4
d) 2.5

c) 0.4

Computer Science & Information Technology

You might also like to view...

________ is the process of rearranging records in a specific order

Fill in the blank(s) with correct word

Computer Science & Information Technology

In what situations would you change the default data field calculations settings of a PivotTable?

What will be an ideal response?

Computer Science & Information Technology