Vidyalelo
C++ Programming · Q33

Arrays and Strings in C++

Programming · C++ Programming · question 33

Q33

Which function is used to find the first occurrence of a specified substring within a string in C++?

A.
strfind()
B.
strstr()
Answer
C.
substr()
D.
None of the above

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board