What happens to the fractional part of a type double expression when the expression is assigned to a type int variable?

What will be an ideal response?

The fractional part is lost.

Computer Science & Information Technology

You might also like to view...

The second part of a file name is the file ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

When analog information is converted to digital data, we must consider two properties that affect the exactness of the digital representation, one from sampling and one from quantizing. Which of the following is from sampling?

A. sampling rate B. bit depth

Computer Science & Information Technology