Potential candidates for the use of const

Based on what I’ve seen, it looks like any function that returns a value could be a candidate for the const keyword. In the case of this lecture, it looks like the candidates are GetMaxTries, GetCurrentTry, IsGameWon, and CheckGuessValidity. Is this correct?

Privacy & Terms