adplus-dvertising
frame-decoration

Question

The library function used to find the last occurrence of a character in a string is

a.

strnstr()

b.

laststr()

c.

strrchr()

d.

strstr()

Answer: (c).strrchr()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The library function used to find the last occurrence of a character in a string is