165k views
2 votes
The data type string has a named constant, ____, associated with it.

User Giannis Mp
by
8.6k points

1 Answer

4 votes
The answer is string::npos
The data type string has a named constant, string::npos, associated with it.
npos is a static member constant value with the greatest possible value for an element of type size_t.
User Kalpa
by
8.0k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.