Home
Roadmaps
Contests
Problems
Arena
Premium
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
HN
Hannah
Hi! I'm Hannah. Let me know if you need help understanding anything!
"Give me a high-level overview of this topic."
"Can you show me an example of how this is used?"