Q:

Comparing two C-style strings is done quite differently from how we compare library strings. When we compare two library strings, we use the normal relational or equality operators

0

Comparing two C-style strings is done quite differently from how we compare library strings. When we compare two library strings, we use the normal relational or equality operators.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

string s1 = "A string example";
string s2 = "A different string";
if (s1 < s2) // false: s2 is less than s1

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now