Which of the following initialization statements is correct?
a. int number = 12.34;
Selected: b. int number = 1234; This answer is correct.
c. int number = “12.34”;
d. int number = “1234”;
Correct. An int should be initialized to a value having the same type. An int constant is made up of a sequence of digits.