多选题
In the following line of code, what does the (int)
represent?
number = (int)sensorReading;
- A. Rounding the sensorReading variable to the nearest int.
- B. Casting the sensorReading variable to the int data type.
- C. Nothing; it is there as a comment.