Q. If s1 and s2 are references to two strings, then which of the following is the correct way to compare the two references? (Solved)
1. s1 is s2
2. s1 = s2
3. s1.Equals(s2)
4. strcmp(s1, s2)
- c. s1.Equals(s2)
1. s1 is s2
2. s1 = s2
3. s1.Equals(s2)
4. strcmp(s1, s2)