Problems
Contests
Roadmaps
Playground
Sign in
Roadmaps
C++
Strings
Quiz: Searching
C++
20 sections · 1024 units
Open in Course
Quiz: Searching
Test understanding
Check Your Understanding
What does "abcabc".find("bc") return?
A.
string::npos
B.
1
C.
4
D.
2
Start the roadmap to answer the quizzes and solve the challenges
Previous
The npos Constant
Section 8 · Unit 31
Next
Iterating Over Strings
"Give me a high-level overview of this topic."
"Can you show me an example of how this is used?"