Which of the following promotions of primitive types is not allowed to occur?

a. char to int.
b. double to float.
c. int to double.
d. short to long.

B

Computer Science & Information Technology

You might also like to view...

?The browser halts loading a script before trying to execute it if a(n) _________ is detected.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

If print(x) is replaced by print(x+1) in the previous question, the above problem disappears. Why? ________

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology