Describe any two string function
Answers
Answered by
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
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
Business Studies,
2 months ago
English,
2 months ago
Economy,
5 months ago
Social Sciences,
5 months ago
Geography,
10 months ago
Science,
10 months ago
Science,
10 months ago