Top

Discussion

What is the function of strcoll()?

  • A.compares the string, result is dependent on the LC_COLLATE
  • B.copies the string, result is dependent on the LC_COLLATE
  • C.compares the string, result is not dependent on the LC_COLLATE
  • D.copies the string, result is not dependent on the LC_COLLATE

Answer: A

The strcoll() function compares the string s1 to the string s2, both interpreted as appropriate to the LC_COLLATE category of the current locale.

No comment is present. Be the first to comment.
Loading…

Post your comment