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...

The GUI allows the user to interact with the __________ through graphical elements on the screen.

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

Computer Science & Information Technology

What does the following program do?

What will be an ideal response?

Computer Science & Information Technology

A SIM card can be found in a smartphone

Indicate whether the statement is true or false

Computer Science & Information Technology

____________ are unexpected conditions that happen infrequently.

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

Computer Science & Information Technology