Correct way to find if contents of two strings are equal?
Posted: Wed Jul 13, 2022 7:56 pm
a) if (s1 = s2)
b) if (s1 != s2)
c) if (strcmp (s1 ,s2))
d) if ( s1 is s2)
b) if (s1 != s2)
c) if (strcmp (s1 ,s2))
d) if ( s1 is s2)
Accurate answers. Every time.
https://answerhappy.com/