Comparison and Concatenation
Explore how to compare strings using standard operators and perform concatenation with the overloaded + operator in C++. Understand the rules for combining C++ and C strings correctly to manipulate string data effectively in your programs.
We'll cover the following...
We'll cover the following...
Comparison
Strings support the well-known comparison operators ==, !=, <, >, >=. The comparison of two strings takes place on their elements.