Question

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.

Answer

This answer is hidden. It contains 3 characters.