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...

JDBC supports _______, so you do not need to manually load the database driver before accessing a database.

a. automatic driver downloading b. automatic driver creation c. automatic driver discovery d. None of the above.

Computer Science & Information Technology

A binary tree with no root

A) must have only one node B) must have exactly two nodes C) must be empty D) None of the above

Computer Science & Information Technology

Answer the following statement(s) true (T) or false (F)

Infrared technology utilizes an LED that emits light with shorter wavelengths than red light.

Computer Science & Information Technology

Most of the work spent ordering large files is not sorting but actually merging.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology