Multiple Choice
Which of the following statements declares the studentGrade variable?
A) enum studentGrade {A, B, C, D, F};
B) enum int {A, B, C, D, F} studentGrade;
C) enum studentGrade {A, B, C, D, F} grades;
D) enum grades {A, B, C, D, F} studentGrade;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: Consider the declaration: enum sports {BASKETBALL, FOOTBALL,
Q2: Suppose str = "ABCDEFGHI".The output of the
Q3: In C++, namespace is a reserved word.
Q4: Suppose that you have the following declaration.
Q5: Which of the following statements creates an
Q7: Considering the statement string str = "Gone
Q8: Suppose str = "xyzw";.After the statement str[2]
Q9: The general syntax for accessing a namespace
Q10: An enumeration type can be passed as
Q11: A data type wherein you directly specify