Which of the following function is used to find the first occurrence of a given string in another string?
a. strnset()
b. strstr()
c. strrchr()
d. strchr()
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.
Correct option to the question ‘Which of the following function is used to find the first occurrence of a given string in another string’ is (b) strstr().