📚 Practice Mode

C++ Programming

Learn at your own pace with hints and detailed explanations

1 / 25
Multiple Choice

Which of the following string functions in C++ returns a pointer to the first occurrence of character in string and returns NULL, if the specified character is not found in the string?

  1. strcpy()
  2. strstr()
  3. strchr()
  4. Both (2) and (3)
  5. strcmp()