An int variable can hold __________.
a. 'x'
b. 120
c. 120.0
d. "x"
e. "120"
ab Choice (A) is also correct, because a character can be implicitly cast into an int variable. The Unicode value of character is assignment to the int variable. In this case, the code is 120 (see Appendix B).
Computer Science & Information Technology
You might also like to view...
An embedded operating system is specially designed for multi-purpose electronic equipment
Indicate whether the statement is true or false
Computer Science & Information Technology
If the source file contains heading styles, the slides will be created using the headings present in the file
Indicate whether the statement is true or false
Computer Science & Information Technology