Which of the following statements is true?

a) A counter variable that stores only non-negative numbers should be declared as an unsigned integral type.
b) A counter variables that stores only non-negative numbers should be declared as a signed integral type.
c) The type of a counter does not matter
d) None of the above.

a) A counter variable that stores only non-negative numbers should be declared as an unsigned integral type.

Computer Science & Information Technology

You might also like to view...

Protected workbooks cannot be ________

A) edited B) saved C) printed D) shared

Computer Science & Information Technology

The discipline for a stack is:

a. data first inserted is the data first out. b. for a misbehaving stack, 30 lashes. c. data last inserted is the data first out. d. depends on the application of the stack.

Computer Science & Information Technology