Which of the following statements about enumerated type initialization is false?

A. Initializers are optional.
B. C automatically assigns initializers starting at 1.
C. Duplicate values can be assigned to different enumeration constants.
D. An anonymous enumerated type is used to declare integral constants.
E. When an enumerated type is printed, it prints as an integer.


Answer: B

Computer Science & Information Technology

You might also like to view...

When using the Function Arguments Box, Excel will ________

A) not enter quotation marks in text criteria B) enter the quotation marks in text criteria, automatically C) suggest ranges D) suggest criteria

Computer Science & Information Technology

You can add _____ to a sparkline to indicate values for each cell in the selected range.

A. color B. weight C. stars D. markers

Computer Science & Information Technology

Explain how you can use a combo box to help users find data in a form used to edit customer data.

What will be an ideal response?

Computer Science & Information Technology

?Identify the expression in which the initial value of the day variable will be set to match the first day of the calendar month.

A. ?var day = Date(calDate(), calDate.getDay(), 1); B. ?var day = new Day(calDate.getDD(), calDate.getMM(),calDate.getYY(),1); C. ?var day = new Day(calDay.getFullMonth(), calDay.getDate(), 1); D. ?var day = new Date(calDate.getFullYear(), calDate.getMonth(), 1);

Computer Science & Information Technology