Multiple Choice
What is the output of the following code? enum courses {ALGEBRA, BASIC, PASCAL, PHILOSOPHY, ANALYSIS};
Courses registered;
Registered = ALGEBRA;
Cout << registered << endl;
A) ALGEBRA
B) 0
C) 1
D) "ALGEBRA"
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q20: The data type string has a named
Q21: No arithmetic operations are allowed on the
Q22: The string expression strVar._ starts at index
Q23: The following is a valid C++ enumeration
Q24: The scope of a namespace member is
Q26: The string expression strVar._ inserts all the
Q27: The length of the string "Hello There."
Q28: The identifiers in the system-provided header files
Q29: In C++, [] is called the array
Q30: An anonymous type can be passed as