To assign a double variable d to a float variable x, you write

a. x = (long)d
b. x = (int)d;
c. x = d;
d. x = (float)d;

d

Computer Science & Information Technology

You might also like to view...

Use a ________ when you want to add a visual hierarchical structure to items in a list

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following IPv4 address pairs would be able to share files on a network using a hub?

A. 10.192.2.220/16 and 10.254.2.222/16 B. 10.254.2.220/16 and 10.254.2.222/24 C. 10.192.2.220/16 and 10.254.2.222/16 D. 10.254.2.220/16 and 10.254.2.222/16

Computer Science & Information Technology