When the final value of an expression is assigned to a variable, it will be converted to

a. the smallest C++ data type
b. the largest C++ data type
c. the data type of the variable
d. the data type of the expression
e. None of these

c. the data type of the variable

Computer Science & Information Technology

You might also like to view...

To what would you compare the transport layer?

a. data links b. the post office c. driving a car d. a train

Computer Science & Information Technology

Which one of the following assignment statements will cause an error because of mismatching data types?

a. decimal cost = 0.99m; b. decimal retail = 100; c. decimal wholesale = 50.0; d. decimal fee = 0.01m;

Computer Science & Information Technology