What function is used to search for a substring within a string in C?
What function is used to search for a substring within a string in C?
A . strpos()
B . strstr()
C . strfind()
D . strchr()
Answer: B
Explanation:
The strstr() function is used to search for a substring within a string in C.
Latest CLP-12-01 Practice Questions with 160 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments