The string input operator:
1. Reads and discards any leading whitespace (e.g., spaces, newlines, tabs)
2. It then reads characters until the next whitespace character is encountered
It is the same with other types, such as int, char;
The string input operator:
1. Reads and discards any leading whitespace (e.g., spaces, newlines, tabs)
2. It then reads characters until the next whitespace character is encountered
It is the same with other types, such as int, char;