Here is a listing of online C++ test questions on “Enumerations” along with answers, explanations and/or solutions: 1. Identify the incorrect option.
A. enumerators are constants
B. enumerators are user defined types
C. enumerators are same as macros
D. enumerator values start from 0 by default
Answer:A
Here is a listing of online C++ test questions on “Enumerations” along with answers, explanations and/or solutions: 1. Identify the incorrect option.
A. enumerators are constants B. enumerators are user defined types C. enumerators are same as macros D. enumerator values start from 0 by default
Explanation:enumerators are used in order to create our own types whereas macros are textual substitutions. 2. In which type does the enumerators are stored by the compiler?