What is the value of z after the following code is executed?

int x = 5, y = 28;
float z;
z = (float) (y / x);

a. 5.6
b. 3.0
c. 5.0
d. 5.60

c. 5.0

Computer Science & Information Technology

You might also like to view...

Which of the following communication technologies is used by video conferencing systems to synchronize video streams, and reduce bandwidth, sent by a central location to subscribed devices?

A. Anycast B. Unicast C. CoS D. QoS E. Multicast

Computer Science & Information Technology

Search engine spiders build a(n) ____ of terms and their locations.?

A. tool? B. ?query C. ?list D. ?index

Computer Science & Information Technology