Computer Science, asked by StarboyCDj11321, 5 months ago

Describe any two string function

Answers

Answered by Anonymous
1

Answer:

It compares the two strings and returns an integer value. If both the strings are same (equal) then this function would return 0 otherwise it may return a negative or positive value based on the comparison. If string1 < string2 OR string1 is a substring of string2 then it would result in a negative value

Explanation:

hope it helps

Answered by Anonymous
0

Answer:

It compares the two strings and returns an integer value. If both the strings are same (equal) then this function would return 0 otherwise it may return a negative or positive value based on the comparison. If string1 < string2 OR string1 is a substring of string2 then it would result in a negative value.

Similar questions