Chapter 5 Quiz Starting Out With C++ 023

What is a sentinel in C++? (mark the best answer)

a. a sentinel is a special value that marks the end of a list of values.
b. a routine that makes performs validation on the values
c. a sentinel is always -1 and terminates a list of values
d. a sentinel is a special value that is defined by the user.

No comments:

Post a Comment