adplus-dvertising
frame-decoration

Question

Which of the following function compares 2 strings with case-insensitively?

a.

strcmp(s, t)

b.

strcmpcase(s, t)

c.

strcasecmp(s, t)

d.

strchr(s, t)

Answer: (c).strcasecmp(s, t)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following function compares 2 strings with case-insensitively?