Quiz on C++ strrchr Function



1. What does the strrchr function do in C++?
2. What is the return type of the strrchr function?
3. Which header file must be included to use the strrchr function?
4. If the character is not found, what does the strrchr function return?
5. What would be the output of strrchr('hello world', 'o')?

Advertisements