| 1. | The library function used to find the last occurrence of a character in a string is |
|||||||
Answer: Option C Explanation: Declaration: char *strrchr(const char *s, int c); It scans a string s in the reverse direction, looking for a specific character c. Example:
Output: The position of 'i' is: 19 |
