| 1. | Which of the following function is used to find the first occurrence of a given string in another string? |
|||||||
Answer: Option C Explanation: The function strstr() Finds the first occurrence of a substring in another string Declaration: char *strstr(const char *s1, const char *s2); Return Value: Example:
Output: The substring is: iaBIX |
