

MCQOPTIONS
Saved Bookmarks
1. |
For two strings s1 and s2 to be equal, which is the correct way to find if the contents of two strings are equal ? |
A. | if(s1 = s2) |
B. | int c; |
C. | = s1.CompareTo(s2); |
D. | if(strcmp(s1, s2)) |
Answer» C. = s1.CompareTo(s2); | |