What is the prototype of strcoll() function?
Answer: A
Correct answer: int strcoll(const char *s1,const char *s2)
strcoll compares two strings, so it takes two const char * arguments and returns an int in the manner of strcmp. The const qualifiers state that neither string is modified.
Please log in or register to report this question.