Correct Way To Find If Contents Of Two Strings Are Equal #233
Correct way to find if contents of two strings are equal?
This multiple choice question (MCQ) is related to the book/course gs gs108 CSharp. It can also be found in gs gs108 Arrays and Strings - Basic Operation on Strings - Quiz No.1.
Correct way to find if contents of two strings are equal?
if (s1 = s2)
if (s1 != s2)
if (strcmp (s1 ,s2))
if ( s1 is s2)