How does C++ handle lexicographical string comparison?
Show answer
Correct answer B
In C++, strings are compared lexicographi cally using the <, >, == operators. Comparison proceeds character by character from left to right. Each character is evaluated using its ASCII (or Unicode) value.