Which of the following correctly defines a data member that is a constant:

a) const int maxScore = 100;
b) enum {maxScore = 100};
c) const enum {maxScore = 100};
d) int maxScore = 100 const;

b) enum {maxScore = 100};

Computer Science & Information Technology

You might also like to view...

A ________ uses encryption and authentication in the lower protocol layers to provide a secure connection through an otherwise insecure network, typically the Internet.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

  In the accompanying figure, box ____ represents a selector.?

A. ?B B. ?D C. ?C D. ?A

Computer Science & Information Technology