1

If s1 and s2 are references to two strings, then which of the following is the correct way to compare the two references?

Correct Answer: s1.Equals(s2)

Make the most of this question

This page focuses on one C++ MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

C++ MCQs MCQ: If s1 and s2 are references to two strings, then which of the following is the correct way to compare the two references? | Extra Education