Right answer is (a) To compare two strings
For explanation I would say: The strcmp() function takes in two arguments to work and it’s job is to compare two strings. it returns 0 if the first and second strings are the same, returns a number greater than 0 if the first string is greater than the second one and vice versa.