If x is type int and y is type float what promotion will occur in the following expression: y = 5.0 + x
a) float to int
b) int to float
c) float to double
d) no promotion will occur
b) int to float
Computer Science & Information Technology
You might also like to view...
The anagram CPU stands for
a. Computer Programming Unit b. Central Processing Unit c. Central Program User d. Computer Paper User
Computer Science & Information Technology
A(n) ____ statement specifies its unique purpose and describes the exact behaviors that must be observed in order to ensure correct performance of that practice.
A. goal B. objective C. mission D. task
Computer Science & Information Technology
Use a stream manipulator to ensure that floating-point values print in scientific notation.
What will be an ideal response?
Computer Science & Information Technology
PAM provides system-wide access to applications through encryption modules.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology