Answer the following statements true (T) or false (F)
1. You can specify specific values to be assigned to the enumerators in an enumerated data type.
2. When integer values are assigned to the enumerators in an enumerated type, then each value must be unique.
3. Assume the following declarations:
enum Days { Mon, Tue, Wed, Thur, Fri, Sat };
Days day1 = Days.Tue;
Days day2 = Days.Thur;
The following Boolean expression is valid:
day1 < day2
4. Assume the following declarations:
enum Days { Mon, Tue, Wed, Thur, Fri, Sat };
Days day1 = Days.Tue;
Days day2 = Days.Thur;
The following Boolean expression is valid:
day1 < Days.Mon
5. Assume the following declarations:
enum Days { Mon, Tue, Wed, Thur, Fri, Sat };
Days day1 = Days.Tue;
int n = 3;
The following Boolean expression is valid:
day1 < n
1. TRUE
2. FALSE
3. TRUE
4. TRUE
5. TRUE
You might also like to view...
How do middleware and Web services promote interoperability?
What will be an ideal response?
Which of the following measures satisfies the CIA requirement of availability in a SAN?
A. multi-pathing B. additional CPU cores C. using FCoE D. dynamic memory allocation
A(n) ____________________ phrase is a phrase that closely resembles how people speak during normal conversation.
Fill in the blank(s) with the appropriate word(s).
You draw curved paths by clicking and dragging the Pen tool to create ____.
A. adjust points B. smooth points C. rest points D. clear points